Re: checkdnsrr, gethostbyaddr / PHP4

From: Date: Tue, 06 Jun 2000 19:28:45 +0000
Subject: Re: checkdnsrr, gethostbyaddr / PHP4
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1142@lists.php.net to get a copy of this message
Didn't check to see if this works for ALL functions, but I know that it works for db calls ... put an '@' in front of the function call, like so: if(checkdnsrr("xxx.xxx.xxx.xxx","ANY")) @gethostbyaddr(..... That might also do it for you... -r3- ----- Original Message ----- From: Liz Kimber <liz@xcalibur.co.uk> To: Philipp Gaschütz <philipp@gng.de> Cc: <php-general@lists.php.net> Sent: Tuesday, June 06, 2000 3:31 PM Subject: Re: [PHP-GENERAL] checkdnsrr, gethostbyaddr / PHP4 > > For those IPs with reverse entry, gethostbyaddr worked fine. However, for > > those without reverse entry, PHP prints out a warning saying "Warning: > > ...could not lookup [bla bla]" > > > Turn off warnings in your php.ini file. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#1142) next »