Re: [PHP] How to get user IP address

2008-05-14 Thread Wolf

 hce <[EMAIL PROTECTED]> wrote: 
> Hi,
> 
> How to get user IP address in a PHP server?
> 
> Thank you.
> 
> Jim
RTFM, Google, PHP.net are GREAT resources 

What part of the code are you having an issue with?

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



RE: [PHP] How to get user IP address

2008-05-14 Thread Chris Haensel
 

-Original Message-
From: hce [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 14, 2008 2:07 PM
To: php-general@lists.php.net
Subject: [PHP] How to get user IP address

Hi,

How to get user IP address in a PHP server?

Thank you.

Jim

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

Hi

$ip = $_SERVER['REMOTE_ADDR'];

Chris


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



Re: [PHP] How to get user IP address

2008-05-14 Thread Eric Butera
On Wed, May 14, 2008 at 8:06 AM, hce <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  How to get user IP address in a PHP server?
>
>  Thank you.
>
>  Jim
>
>  --
>  PHP General Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>

$_SERVER["REMOTE_ADDR"]

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