Sublime directory Surf the web anonymous Pagerank Monitor


Any browser detection function?

Nikolas
Sun 19 November 2006, 02:49 pm GMT +0100
I've just searched for this in the internet, and it seems that there is no working snippet for detecting user's browser with javascript.

What I want to know is just the browser that the user uses (eg. Firefox, Opera, etc.)

Does anyone knows how to do that easilly?

Nikolas
Sun 19 November 2006, 03:08 pm GMT +0100
Nevermind. It looks easier server side :

http://php.net/manual/en/function.get-browser.php

:)

olaf
Sun 19 November 2006, 05:48 pm GMT +0100
Nevermind. It looks easier server side :

http://php.net/manual/en/function.get-browser.php

:)

lol

olaf
Sun 19 November 2006, 05:48 pm GMT +0100
maybe we should move this post to the php forum...

Nikolas
Sun 19 November 2006, 10:24 pm GMT +0100
maybe we should move this post to the php forum...

You are right :)

I moved it

olaf
Sun 19 November 2006, 10:47 pm GMT +0100


You are right :)

I moved it

actually I was joking ;D

Nikolas
Sun 19 November 2006, 11:05 pm GMT +0100
Well the question was about a javascript problem, but as the solution was php, I thought it would be right to move the thread here :)

olaf
Sun 19 November 2006, 11:47 pm GMT +0100
Well the question was about a javascript problem, but as the solution was php, I thought it would be right to move the thread here :)
of course you're right :)

lanandpercy
Mon 7 May 2007, 11:35 am GMT +0200
I've just searched for this in the internet, and it seems that there is no working snippet for detecting user's browser with javascript.

What I want to know is just the browser that the user uses (eg. Firefox, Opera, etc.)

Does anyone knows how to do that easilly?

If you are still looking you might want to check out the one at:
http://techpatterns.com/downloads/free_scripts.php

But you may have to move this from PHP to Java!  ;)

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional