View Single Post
Old 07-29-2007, 04:17 PM   #5 (permalink)
Arch3r25
Senior Member
 

Join Date: Jul 2007
Posts: 285
iTrader: 0 / 0%
Hunter Bux: 0
Arch3r25 is on a distinguished road
Default

Haha, this is an extremely simple script.

The PHP command $REMOTE_ADDR represents the user's IP address.

However, you coded the script wrong; this shouldn't work. You have a string within a string.

This will work:

PHP Code:
<?php
echo "Your IP: ".$REMOTE_ADDR;
?>
Arch3r25 is offline   Reply With Quote