Page 1 of 1

Show Users IP With PHP

Posted: Thu Apr 06, 2006 5:55 pm
by sethamin
This is a very simple and short code to show the visitin users IP.

Code: Select all

<?php echo $_SERVER["REMOTE_ADDR"]; ?>
Remember that your host has to be php enabled and the code must be saved to a php ****!