Re: Access Client IP address
| From: | Michelle Konzack | Date: | Thu, 19 Jan 2006 10:31:35 +0000 |
| Subject: | Re: Access Client IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228802@lists.php.net to get a copy of this message | ||
Am 2006-01-04 13:05:05, schrieb Nilanjan Dasgupta:
> Hi,
> Is there any way to client's IP address inside a php document. I am
> trying to generate a code that depends on the IP address of the client.
From PHP YesNo. :-)
$_SERVER['REMOTE_ADDR'] can be false, if the $CLIENT connect via a
proxy.
You need a little JavaApplet which check from client side the IP.
> thanks a lot,
> Nilanjan
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)