Reply to Re: [PHP] 1 ip address go here all others go here

Your name:

Reply:


Posted by Duncan Hill on 09/26/68 11:34

On Tuesday 13 December 2005 16:33, Dave Carrera wrote:
> $_SERVER['REMOTE_HOST']
>
> but i think i should of said how do i compare any address starting with
> 192.168.

REMOTE_HOST contains the resolved DNS name of an IP address. This value is
dependent on your web server doing DNS resolution (and most people configure
it not to due to the speed impact).

REMOTE_ADDR contains the IP.

preg_match() probably does what you want.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация