John Taylor-Johnston wrote:
PHP is Open Source. This is the general forum. Here is my suggestion:
Create $_SERVER['REMOTE_HOST'] as a variable.
$gethost = gethostbyaddr($_SERVER['REMOTE_ADDR']);
is getting old. Anyone agree?
Nope, sorry. I don't want my install of PHP to make a DNS lookup
ever
--- John Taylor-Johnston <[EMAIL PROTECTED]> wrote:
> PHP is Open Source. This is the general forum. Here is my suggestion:
>
> Create $_SERVER['REMOTE_HOST'] as a variable.
>
> $gethost = gethostbyaddr($_SERVER['REMOTE_ADDR']);
>
> is getting old. Anyone agree?
What do you mean by getting old?
> The problem is that gethostbyaddr is an expesive call, DNS server must
> be contacted. And most of the time you don't need it.
Yep, its quite a pain in the ass as i found out the hard way, i had a
banner software setup displaying upto 6 differient banners (and differient
types. eg: text, banner
John Taylor-Johnston wrote:
PHP is Open Source. This is the general forum. Here is my suggestion:
Create $_SERVER['REMOTE_HOST'] as a variable.
$gethost = gethostbyaddr($_SERVER['REMOTE_ADDR']);
is getting old. Anyone agree?
The problem is that gethostbyaddr is an expesive call, DNS server must
PHP is Open Source. This is the general forum. Here is my suggestion:
Create $_SERVER['REMOTE_HOST'] as a variable.
$gethost = gethostbyaddr($_SERVER['REMOTE_ADDR']);
is getting old. Anyone agree?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
5 matches
Mail list logo