faqts : Computers : Programming : Languages : PHP : Function Libraries

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 6 people (17%) answered Yes
Recently 1 of 6 people (17%) answered Yes


How to get a visitor's IP from the site?(PHP)

Oct 9th, 2006 10:08
Matthew Wilkinson, Ken Ku, http://php.net/manual/en/reserved.variables.php

$_SERVER['REMOTE_ADDR'] will contain the IP Address of the user
accessing your PHP script.