note 75099 deleted from function.gethostbyname by nlopess
| From: | nlopess@php.net | Date: | Sat, 12 May 2007 11:25:31 +0000 |
| Subject: | note 75099 deleted from function.gethostbyname by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126439@lists.php.net to get a copy of this message | ||
Note Submitter: billgates at linux dot com
----
I see that some of you have suggested using dig rather than php's gethostbyname(). Could you
guys explain why that might be better?
Using dig would mean I'd need to enable system execution in my php.ini, which may not be good
security-wise on the server.