note 98245 deleted from function.gethostbyname by danbrown
| From: | danbrown@php.net | Date: | Thu, 03 Jun 2010 18:45:31 +0000 |
| Subject: | note 98245 deleted from function.gethostbyname by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169867@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Be careful with nirazuelos's code. You _must_ make sure $host is already a valid host name
format. If you use unsanitized user input someone may pass you the value "localhost &&
rm -rf /" and ruin your day.