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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to