Faqts : Computers : Programming : Shopping For You : PHP : Function Libraries

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

2 of 4 people (50%) answered Yes
Recently 2 of 4 people (50%) 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.