|
Comments for: benedetti20021219.php3
| Message # 1015362: |
|
Date: 02/04/03 07:51
By: Gaddo Benedetti Subject: RE: Port 80 & little mistake Good point, I was only trying out servers that should have had nothing running on port 80. In this case, I notice, the server being probed ignores the request to act as a proxy and simply serves up it’s own index document. One means to get round this limitation of in the function (other than to avoid port 80 :) ) is to look for a unique ‘flag’ in your reference ($URL) site. Thus, with the present example, you might replace: <?php $HTTP_Response = fgets($fp, 128); if(strlen(stristr($HTTP_Response, "200")) > 0){ $bOpenProxy = true; while(!feof($fp))echo fgets($fp, 128); } ?> With: <?php while(!feof($fp)) { if (strstr(fgets($fp, 128), "mPerium - WIRELESS AT WORK")) $bOpenProxy = true; } ?> |
Previous Message | Next Message |
| Comments: | ||
| RE: Limitations and Suggestions | Thomas | 10/10/03 00:59 |
| RE: dynamically assigned IPs | Gaddo | 02/19/03 10:53 |
| dynamically assigned IPs | noel darlow | 02/10/03 22:02 |
| RE: Port 80 & little mistake | Gaddo Benedetti | 02/04/03 07:51 |
| Port 80 & little mistake | gosciu | 01/17/03 16:02 |
| Limitations and Suggestions | Lee | 12/29/02 02:48 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


