How to get the visitor IP

10 June 2011 by Rick ~ 0 Comments 576 views

PHP

You just need to use the following server PHP variable:

$_SERVER['REMOTE_ADDR']

More info about Server Variables at PHP.net

Subscribe by E-mail:

« »
Add a Comment

Use [code] example piece of code [/code] to insert code into your comment.