Sorry. There are a number of arrays in PHP which hold a multitude of values (GET variables, POST variable, SERVER variables etc.)
The user's IP address is passed as part of the HTTP request header, and is accessible thru the superglobal array $_SERVER["REMOTE_ADDR"] Ie the address of the remote user, the client who requested the page If you're using a version of PHP < 4.2.0 then you get the same value from $HTTP_SERVER_VARS["REMOTE_ADDR"] HTH, Richy ========================================== Richard Black Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 435 3504 Email: [EMAIL PROTECTED] -----Original Message----- From: James Meers [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 13:36 To: Richard Black; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Capturing IP Address Im new to PHP, so I don't know what you mean here? -----Original Message----- From: Richard Black [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 13:14 To: James Meers; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Capturing IP Address _SERVER["REMOTE_ADDR"] ========================================== Richard Black Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 435 3504 Email: [EMAIL PROTECTED] -----Original Message----- From: James Meers [mailto:[EMAIL PROTECTED]] Sent: 28 August 2002 13:06 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Capturing IP Address How would I capture the IP address of a user coming to my site and then, putting that information into a database? Jambo -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php