note 12674 modified in function.gethostbyname by derick
| From: | derick@php.net | Date: | Sun, 12 May 2002 15:29:22 +0000 |
| Subject: | note 12674 modified in function.gethostbyname by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-30511@lists.php.net to get a copy of this message | ||
[Editor's note: post moved from gethostbyaddr]
This is a really DANGEROUS function : use it into a very used
script with a SQL connection and if ever your DNS server
doesn't respond quickly, the processes will take 30 seconds
each, the number of SQL connections will increase, and your
server will crash.
--was--
[Editor's note: post moved from gethostbyaddr]
This is a really DANGEROUS function : use it into a very used
script with a SQL connection and if ever your DNS server doesn't
respond quickly, the processes will take 30 seconds each, the
number of SQL connections will increase, and your server will
crash.
http://www.php.net/manual/en/function.gethostbyname.php