Re: PHP graphs
| From: | Steve Magruder | Date: | Fri, 28 Feb 2003 16:41:34 +0000 |
| Subject: | Re: PHP graphs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137583@lists.php.net to get a copy of this message | ||
"K" <nkom@videotron.ca> wrote in message
news:20030227183611.59150.qmail@pb1.pair.com...
> Hi guys,
> I would like to read the IP address from a PC that connects to my web
site.
> Any function does that in PHP?
SuperGlobal var in >= 4.1.0:
$_SERVER['REMOTE_ADDR']
Global var in < 4.1.0:
$HTTP_SERVER_VARS['REMOTE_ADDR']
Steve