Re: Help with an error...

From: Date: Thu, 24 Jul 2008 17:43:50 +0000
Subject: Re: Help with an error...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-277250@lists.php.net to get a copy of this message
Daniel already answerd regarding your error, but...
<?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); ... if you call the script via cron I'm pretty sure $_SERVER won't be available since the script is not used in a running webserver process context.


« previous php.general (#277250) next »