Tool for displaying browser information

Each browser or crawler may send certain information to recipient of an HTTP request which can be then used for identification or recognition, collection of statistics, forwarding, etc. This information can be faked, however most users won’t fake their information so in the end one can get relevant and useful collection of arriving visitors and their behaviour when browsing a site. Of course it’s important to notify users by having a good privacy policy. Feel free to open this URL in LYNX and Opera to see differences

Web browser is an application that interprets and displays web documents to an end user.

HTTP_REFERER

REQUEST_METHOD

GET

HTTP_ACCEPT_CHARSET

HTTP_ACCEPT_ENCODING

gzip, br, zstd, deflate

HTTP_ACCEPT_LANGUAGE

HTTP_USER_AGENT

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

REMOTE_ADDR

216.73.216.46

Code example

<?php //browser information $browser_info = "<h2>HTTP_REFERER</h2><p>". addslashes(stripslashes(htmlspecialchars($_SERVER[’HTTP_REFERER’])))."</p> <h2>REQUEST_METHOD</h2><p>". addslashes(stripslashes(htmlspecialchars($_SERVER[’REQUEST_METHOD’])))."</p> <h2>HTTP_ACCEPT_CHARSET</h2><p>". addslashes(stripslashes(htmlspecialchars($_SERVER[’HTTP_ACCEPT_CHARSET’])))."</p> <h2>HTTP_ACCEPT_ENCODING</h2><p>". addslashes(stripslashes(htmlspecialchars($_SERVER[’HTTP_ACCEPT_ENCODING’])))."</p> <h2>HTTP_ACCEPT_LANGUAGE</h2><p>". addslashes(stripslashes(htmlspecialchars($_SERVER[’HTTP_ACCEPT_LANGUAGE’])))."</p> <h2>HTTP_USER_AGENT</h2><p>". addslashes(stripslashes(htmlspecialchars($_SERVER[’HTTP_USER_AGENT’])))."</p> <h2>REMOTE_ADDR</h2><p>". addslashes(stripslashes(htmlspecialchars($_SERVER[’REMOTE_ADDR’])))."</p> "; echo $browser_info; ?>

Other tools & help

If you need help with PHP scripting, Apache setup and server-related situations, drop me a line. You’re also welcome to visit other tools - they’re listed below.