Browser And Javascript Detect
I need two things:
1) Using PHP I need to detect the browser and if is not one of the following browsers I need to forward the user to a file called ‘browserMessage.php’. I will build this page myself.
The following browsers are supported. Every other browser needs to be forwarded to ‘browserMessage.php’
FIREFOX 2,3
IE 7,8
SAFARI 2,3
2) I also need is a piece of PHP code that will detect if javascript and if cookies are enabled. If either one is disabled or not present, we need to display text in the window that says:
‘We have detected that your browser currently has javascript or cookies. Please enable these features in your browser before attempting to use the CA-AVRS website. We apologize for the inconvenience.’


