Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I made a website in PHP, and I want that users cannot go to my website with IE because CSS ...
How I Get users browser? and wen it is IE I want to 'Permission Denied'!

regards,
KZ
Posted

1 solution

You can use browser detection like so:

http://www.w3schools.com/js/js_browser.asp[^]

However, it isn't very reliable or certain. There is not a way to be totally certain of a user's browser all the time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900