Detect IP address using PHP

<?php

$ip=$_SERVER[‘REMOTE_ADDR’]; echo “Your IP Address : $ip”;

?>

Advertisements