php-general | 2003022
Date: 02/28/03
- Next message: Sterling Anderson: "RE: [PHP] Destroying COM objects"
- Previous message: Poon, Kelvin (Infomart): "RE: [PHP] Help with Sessions"
- In reply to: K: "[PHP] PHP graphs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"K" <nkom <email protected>> wrote in message
news:20030227183611.59150.qmail <email protected>
> 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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Sterling Anderson: "RE: [PHP] Destroying COM objects"
- Previous message: Poon, Kelvin (Infomart): "RE: [PHP] Help with Sessions"
- In reply to: K: "[PHP] PHP graphs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

