For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > August 2005 > Detecting browser type and version?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Detecting browser type and version?
Erik Kullberg

2005-08-28, 7:55 am

Is there a way to detect the clients browser type and version in a php
script?

/ Erik Kullberg


Janwillem Borleffs

2005-08-28, 7:55 am

Erik Kullberg wrote:
> Is there a way to detect the clients browser type and version in a php
> script?
>


See: http://www.php.net/get_browser

Be aware that this function is based on the $_SERVER['HTTP_USER_AGENT']
string, which can be modified by the client.


JW



usenet@isotopeREEMOOVEmedia.com

2005-08-28, 6:55 pm

On Sun, 28 Aug 2005 10:13:45 GMT, "Erik Kullberg" <erik.kullberg@telia.com>
wrote:

>Is there a way to detect the clients browser type and version in a php
>script?


http://techpatterns.com/downloads/p...r_detection.php
works quite well.
Erik Kullberg

2005-08-29, 7:55 am

Thank you!
This is very useful information!
/ Erik

<usenet@isotopeREEMOOVEmedia.com> skrev i meddelandet
news:a0q3h1p2k0c0sua76ptqd7mdkm4fghie13@
4ax.com...
> On Sun, 28 Aug 2005 10:13:45 GMT, "Erik Kullberg"
> <erik.kullberg@telia.com>
> wrote:
>
>
> http://techpatterns.com/downloads/p...r_detection.php
> works quite well.



Erik Kullberg

2005-08-29, 7:55 am

Thank you!
This is very useful information!
/ Erik


"Janwillem Borleffs" <jw@jwscripts.com> skrev i meddelandet
news:431195a9$0$10106$dbd45001@news.euronet.nl...
> Erik Kullberg wrote:
>
> See: http://www.php.net/get_browser
>
> Be aware that this function is based on the $_SERVER['HTTP_USER_AGENT']
> string, which can be modified by the client.
>
>
> JW
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com