Re: 1 ip address go here all others go here
| From: | Zareef Ahmed | Date: | Tue, 13 Dec 2005 16:21:53 +0000 |
| Subject: | Re: 1 ip address go here all others go here | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227383@lists.php.net to get a copy of this message | ||
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@drumsplace.com>
To: <php-general@lists.php.net>
Sent: Tuesday, December 13, 2005 11:06 AM
Subject: [PHP] 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@indiaphp.com