How to display your users IP Address

Browse: Tutorials » PHP
Very simple, the command is

$_SERVER["REMOTE_ADDR"]


So if you wanted to display the visitors IP address on your website you'd simply use.

<?

echo 'Your IP address is : '.$_SERVER["REMOTE_ADDR"];

?>


Thanks again!