PHP Browser Information



CCBot/2.0 (

https's default port number is: 443



Script Source

echo $_SERVER['REMOTE_ADDR']; // gets the ip address
echo "<br/>";

echo $_SERVER['HTTP_USER_AGENT'] . "\n\n"; // displays your browser information
echo "<br/>";
echo $_SERVER['HTTP_REFERER'] . "\n\n"; // gives you information on where you came from
echo "<br/>";
echo "https's default port number is: ".getservbyname("https", "tcp"); // displays your default port number
echo "<br/>";


Please let me know if this script was helpful to you.