Diagnostics using JavaScript
Browser Properties (Navigator Object)
appCodeName (your browser)
appCodeName (example code)
document.write("Name: " + navigator.appCodeName);
appName (your browser)
appName (example code)
document.write("Name: " + navigator.appName);
appVersion (your browser)
appVersion (example code)
document.write("Name: " + navigator.appVersion);
cookieEnabled (your browser)
cookieEnabled (example code)
document.write("Name: " + navigator.coookieEnabled);
platform (your browser)
platform (example code)
document.write("Name: " + navigator.platform);
userAgent (your browser)
userAgent (example code)
document.write("Name: " + navigator.userAgent);
Diagnostics using PHP
User Agent
This is what your browser is reporting as its "user agent."
It's one way to identify what its capabilities are:
CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Here's the PHP call, as used above, to get the client's (browser's) user agent:
print($_SERVER['HTTP_USER_AGENT'])
phpinfo()
Here are more client and server diagnostics
from the PHP function
phpinfo()
(which outputs HTML).