GetDotted Domains

Viewing Thread:
"Browser detection in PHP"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sat 03/11/01 at 12:36
Regular
Posts: 787
Hi all - can someone recommend (or provide?) a reliable PHP script that will detect browsers via the HTTP_USER_AGENT variable? I've got one that works OK, but I'm interested to know of others.

Also - on the same subject: My script is finding "odd" values in the user_agent, like "Microsoft URL Control - 6.00.8169" and "FAST Crawler ..", which I assume must be robots having a snoop around. I know what FAST is, but does anyone have views as to what such agents are, and in particular whether they're dangerous?
Sat 03/11/01 at 12:36
Regular
"whoneedsatagline?"
Posts: 194
Hi all - can someone recommend (or provide?) a reliable PHP script that will detect browsers via the HTTP_USER_AGENT variable? I've got one that works OK, but I'm interested to know of others.

Also - on the same subject: My script is finding "odd" values in the user_agent, like "Microsoft URL Control - 6.00.8169" and "FAST Crawler ..", which I assume must be robots having a snoop around. I know what FAST is, but does anyone have views as to what such agents are, and in particular whether they're dangerous?
Sat 10/11/01 at 12:57
Regular
"tinycurve.gif"
Posts: 5,857
I'm not too sure about PHP, but I know that there is a JavaScript that will do the same thing.
Mon 12/11/01 at 16:43
Regular
"Eff, you see, kay?"
Posts: 14,156
Put just the following into a PHP file:



You should get a list of all the environment variables currently set. Have a look to see if any of them have anything to do with browsers. I can't right now because my PC is on the verge of crashing.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Many thanks!
You were 100% right - great support!
Impressive control panel
I have to say that I'm impressed with the features available having logged on... Loads of info - excellent.
Phil

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.