Mob: This is really easy - start with: get_browser() http://www.php.net/manual/en/function.get-browser.php and if that doesn't work from there, get down and dirty with: $HTTP_USER_AGENT http://www.php.net/manual/en/reserved.variables.php#reserved.variables.g lobals Hope that helps you out! Mark ------------------------------------------------------------------ mark at safefrombees.com ICQ: 3094740 Safe From Bees [www.safefrombees.com] -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of m horan Sent: Friday, 28 March 2003 10:38 PM To: thelist at lists.evolt.org Subject: [thelist] Cross Browser Check - PHP Hi Everyone I'm new to this list and hopefully my question is relevant. I'm trying to write/find a PHP script that will do a browser check for netscape 4.x, netscape 6.x + and explorer 5.x + and use the correct pre-defined style sheet. I've done a fair bit of surfing PHP sites and was surprised to find that there are no scripts that match the above case - there seems to be lots of scripts to test for just explorer or netscape. (My PHP knowledge is adequate) but I don't even know where to start with writing this script. Any help or URL's would be greatly appreciated. Best Regards mob -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !