Retrieving your IP address
Well you want to findout how to display the visitors IP address on a page eh.
Where listen up!
Heres your full code:
CODE
<?
echo "Your IP is " $_SERVER['REMOTE_ADDR'];
?>
Now the < & ? starts off your code.
Then comes in the echo 'Your IP is'
and finally is the $REMOTE_ADD which gets the referring IP address.
then to close the code you have ? & >.
Seem's simple eh, well it is :)
Sunday May 27, 2007 - 281 reads