[PHP] Port Scanner

2001-08-20 Thread brian ellis
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

Re: [PHP] Port Scanner

2001-08-20 Thread Ben Gollmer
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