Reply to Re: [PHP] Is there a way to determine wich browser a visitor uses in php?

Your name:

Reply:


Posted by Frank Armitage on 11/23/05 12:06

twistednetadmin wrote:
> Thanks guys. That helps alot!
>
> But this:
> <?php
> print $_SERVER['HTTP_USER_AGENT'];
> ?>
>
> Returned this using Mozilla: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.7.12) Gecko/20050915 Firefox/1.0.7
> And this using IE: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
>
> Does that just mean that it's not completely accurate?
>

Try get_browser()
http://php.net/manual/en/function.get-browser.php

HTH
Frank

--
tradeOver | http://www.tradeover.net
.....ready to become the King of the World?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация