Re: Client IP address
| From: | Stephen | Date: | Thu, 21 Nov 2002 20:19:04 +0000 |
| Subject: | Re: Client IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125483@lists.php.net to get a copy of this message | ||
It's not a function, it's a variable:
$_SERVER["REMOTE_ADDR"];
----- Original Message -----
From: "Ron Smith" <lists@pmbx.net>
To: <php-general@lists.php.net>
Sent: Thursday, November 21, 2002 3:16 PM
Subject: [PHP] Client IP address
> I know this is probably easily solved, but I'm trying to locate the PHP
> function which returns the client's IP address when they request a page
> from the server. I'm having no luck searching the php.net function list.
>
> Kindest regards,
>
> Ron
>
> "Yes, they were dinking with the DNS last weekend, and it got out to
> the internet, then took awhile to 'repair' itself," said my friend.
>
> To which I replied, "Well, 'Dinking Happens!'" =>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>