Re: [PHP] $_SERVER['REMOTE_HOST']

2003-10-04 Thread John Nichel
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

Re: [PHP] $_SERVER['REMOTE_HOST']

2003-10-04 Thread Chris Shiflett
--- 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?

Re: [PHP] $_SERVER['REMOTE_HOST']

2003-10-04 Thread Ryan A
> 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

Re: [PHP] $_SERVER['REMOTE_HOST']

2003-10-04 Thread Marek Kilimajer
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] $_SERVER['REMOTE_HOST']

2003-10-04 Thread John Taylor-Johnston
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