Aaron Gould wrote:
>
> I'm at the end of my rope here...
>
> I have a 100,000+ line file containing IP addresses. For each line, I need
> to run a "gethostbyaddr" command. However, some lines take a long time to
> timeout. Is there a way I can decrease this timeout period to one or two
> seconds?
>
> Thanks!!
>
> --
> Aaron Gould
> Programmer/Web Developer
> Parts Canada - http://www.partscanada.com
>
> --
> 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]
I am a Perl programmer by trade, but PHP has so many qualities of Perl I
wonder if there is some sort of Alarm command. In Perl, you would set
an alarm to control the timeout.
Does anyone know of such a function in PHP?
--
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]