/ Published in: PHP
URL: http://www.aristoworks.com
This handy little script will allow you to detect whether or not a user is running FireFox as their browser.
Expand |
Embed | Plain Text
function is_firefox() { $agent = ''; // old php user agent can be found here $agent = $HTTP_USER_AGENT; // newer versions of php do have useragent here. $agent = $_SERVER["HTTP_USER_AGENT"]; return true; return false; }
You need to login to post a comment.
