Mega Code Archive

 
Categories / Php / HTML
 

Reporting the User Agent and Referrer

<html> <head> <title>Reporting User Agent and Referrer</title> </head> <body> <div> <p> Browser: <b><?php print $_SERVER['HTTP_USER_AGENT'] ?></b><br /> Referring page: <b><?php print $_SERVER['HTTP_REFERER'] ?></b> </p> </div> </body> </html>