Re: Port Scanner
| From: | Ben Gollmer | Date: | Mon, 20 Aug 2001 19:07:24 +0000 |
| Subject: | Re: Port Scanner | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63557@lists.php.net to get a copy of this message | ||
Make sure you pass fsockopen() the optional timeout parameter, and that the timeout is less than the maximum script execution time.
See http://www.php.net/manual/en/function.fsockopen.php
Ben
On Monday, August 20, 2001, at 12:49 PM, brian ellis wrote:
When I use the fsockopen command onto an IP address that does not exist, the page will freeze until it's execution time is up. Right now I have it executing the external ping command and reading the results from that. Does anyone have a better idea using maybe a OS-independent scanner or some code to remove that process? Thank Ye Kindly Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net