Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

[PHP3] Help - Timeout From: Anil Amarakoon (anil <email protected>)
Date: 07/30/98

Hi all,

I like get the IP address and hostname before processing a form. I am
using gethostbyaddr($ip) get the hostname.
Can I set timeout to process this single line in my script?? -- >
$guestHostName = gethostbyaddr($guestIp);

B'cos there might be bad DNS and all kids of stuff out there and I do
want the user to wait for ever.

Thank you

Anil

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3