Re: 1 ip address go here all others go here

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

You can look for the value of     $_SERVER['REMOTE_ADDR'], and then you can
serve users as per your preferences.

Zareef Ahmed

----- Original Message ----- 
From: "Dave Carrera" <dave@xxxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, December 13, 2005 11:06 AM
Subject:  1 ip address go here all others go here


> Hi List,
>
> Is there a way of sending users with a local ip address say 127.0.0.1
> and 192.168.xxx.xxx to goto one page and all other visitors to goto
another?
>
> Kind Regards
>
> Dave C
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

====================================================
PHP Expert Consultancy in Development  http://www.indiaphp.com
Yahoo! : consultant_php MSN : consultancy@xxxxxxxxxxxx

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux