Re: [PHP] Access Client IP address

2006-01-14 Thread PHP Superman
$_SERVER['REMOTE_ADDR'] will give you the proxy ip if they have one, and the browser sends the info, the user might change it to blahblahblah for all we know... On 1/4/06, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Is there any way to client's IP address inside a php document. I am

[PHP] Access Client IP address

2006-01-04 Thread 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. thanks a lot, Nilanjan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Access Client IP address

2006-01-04 Thread John Nichel
Nilanjan Dasgupta wrote: 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. Yes. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED]

Re: [PHP] Access Client IP address

2006-01-04 Thread Ray Hauge
$_SERVER['REMOTE_ADDR'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server HTH Nilanjan Dasgupta wrote: 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. thanks a

Re: [PHP] Access Client IP address

2006-01-04 Thread Silvio Porcellana [tradeOver]
Nilanjan Dasgupta wrote: 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. thanks a lot, Nilanjan Give a look at $_SERVER, and more specifically $_SERVER[REMOTE_ADDR]

RE: [PHP] Access Client IP address

2006-01-04 Thread Jay Blanchard
[snip] 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. [/snip] http://us3.php.net/manual/en/reserved.variables.php#reserved.variables.serve r $_SERVER['REMOTE_ADDR'] but it may not always be