note 104944 added to function.gethostbyname
| From: | (d) | Date: | Mon, 18 Jul 2011 04:28:14 +0000 |
| Subject: | note 104944 added to function.gethostbyname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181631@lists.php.net to get a copy of this message | ||
Important note: You should avoid its use in production.
DNS Resolution may take from 0.5 to 4 seconds, and during this time your script is NOT being
executed.
Your customers may think that the server is slow, but actually it is just waiting for the DNS
resolution response.
You can use it, but if you want performance, you should avoid it, or schedule it to some CRON
script...
----
Server IP: 187.73.33.10
Probable Submitter: 186.214.208.226
----
Manual Page -- http://www.php.net/manual/en/function.gethostbyname.php
Edit -- https://master.php.net/note/edit/104944
Del: integrated -- https://master.php.net/note/delete/104944/integrated
Del: useless -- https://master.php.net/note/delete/104944/useless
Del: bad code -- https://master.php.net/note/delete/104944/bad+code
Del: spam -- https://master.php.net/note/delete/104944/spam
Del: non-english -- https://master.php.net/note/delete/104944/non-english
Del: in docs -- https://master.php.net/note/delete/104944/in+docs
Del: other reasons-- https://master.php.net/note/delete/104944
Reject -- https://master.php.net/note/reject/104944
Search -- https://master.php.net/manage/user-notes.php