PROGRAM IN ACTION

Your IP is 38.107.179.234

CODE

<?php
$ip
=$_SERVER['REMOTE_ADDR']; 
echo 
"<h1>Your IP is $ip</h1>";
?>