|
|
| Browsers [+] Favor-It | |
| |
 |
| | Sort By:
|
this is a simple little script which will take you to one page if you're using Internet Explorer, and another page if you're using some other browser. If the browser is Microsoft Internet Explorer, then go to spoono.com. Anything else, go to yahoo.com. Author: Spoono Code: PHP 4.0 |
I started everything by making a simple javascript that I could run in different browsers, It writes out exactly what the different navigator objects contains, this way it's a lot easier to know what to test for. Author: Dan Code: PHP 4.0 |
Let us do something more useful now. We are going to check what sort of browser the visitor is using. For that, we check the user agent string the browser sends as part of the HTTP request. Author: PHP.net Code: PHP 4.0 |
|  | |
Icon Key >
 - Recently Updated
 - Showcase Listing
|