note 80277 added to function.gethostbyaddr

From: Date: Mon, 07 Jan 2008 20:42:23 +0000
Subject: note 80277 added to function.gethostbyaddr
Groups: php.notes 
Request: Send a blank email to php-notes+get-134932@lists.php.net to get a copy of this message
I was having an enormous amount of trouble using this function and could never get past the "Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address" error. It turns out it was something very simple. I had a look through my php.ini file and "register_globals" was turned off. Once I enabled that - incredible, joyous amounts of php goodness occured. ---- Server IP: 64.71.164.2 Probable Submitter: 76.20.145.146 ---- Manual Page -- http://www.php.net/manual/en/function.gethostbyaddr.php Edit -- https://master.php.net/note/edit/80277 Del: integrated -- https://master.php.net/note/delete/80277/integrated Del: useless -- https://master.php.net/note/delete/80277/useless Del: bad code -- https://master.php.net/note/delete/80277/bad+code Del: spam -- https://master.php.net/note/delete/80277/spam Del: non-english -- https://master.php.net/note/delete/80277/non-english Del: in docs -- https://master.php.net/note/delete/80277/in+docs Del: other reasons-- https://master.php.net/note/delete/80277 Reject -- https://master.php.net/note/reject/80277 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#134932) next »