Thread: [PHP] Show IP
View Single Post
  #5 (permalink)  
Old 02-06-2007, 06:24 AM
lazycoder lazycoder is offline
Junior Member
 
Join Date: Feb 2007
Posts: 11
lazycoder is on a distinguished road
Quote:
Originally Posted by tutorialstation View Post
That's if you have register_globals set to on.

But due to security concern i always set my register_globals to off.

And i use this to detect visitors IP.

PHP Code:
$_SERVER['REMOTE_ADDR'
That would be the 'correct' way
Reply With Quote