It's not a function, it's a variable:

$_SERVER["REMOTE_ADDR"];


----- Original Message ----- 
From: "Ron Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> 
> 

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

Reply via email to