just add this code to show a users ip address & port
Added after 34 minutes:
thanks big br0 to giving thanks 4 my sharings...
Code:
<html> <body> <b>Your IP address is:</b> <?php $ip=$_SERVER['REMOTE_ADDR']; echo "$ip"; ?> <b>Name server:</b> <?php $ip=$_SERVER['REMOTE_ADDR']; $ip2=$_SERVER['HTTP_REMOTE_HOST']; if ($ip2=="") echo "$ip"; else echo "$ip1"; ?> <b>Remote port:</b> <?php $port=$_SERVER['REMOTE_PORT']; echo "$port"; ?> <b>Browser:</b> <?php $browser=$_SERVER['HTTP_USER_AGENT']; echo "$browser"; ?>
thanks big br0 to giving thanks 4 my sharings...