formatting web browsers - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: formatting web browsers (/showthread.php?tid=74256) formatting web browsers by Nathan on 05-08-2007 at 06:11 PM
Ok, RE: formatting web browsers by Baggins on 05-08-2007 at 07:05 PM
If you mean detect the browser type I would use RegExp on $_SERVER['HTTP_USER_AGENT'] RE: formatting web browsers by Nathan on 05-08-2007 at 08:32 PM
Could you give me an example please? RE: formatting web browsers by absorbation on 05-08-2007 at 08:33 PM What are you trying to do Nath? Your post is very confusing RE: formatting web browsers by user35870 on 05-08-2007 at 08:33 PM
I'm not sure if this is the best way to do it or is what you mean, but here go's: code: (note: I've only done some examples, you can expand it for others such as Netscape if you want.) RE: formatting web browsers by Nathan on 05-08-2007 at 08:34 PM
That's exactly what I want Chris <3 RE: formatting web browsers by absorbation on 05-08-2007 at 08:38 PM
Here is a small script I use from Hmaster: code: $agent represents the variable of the user's browser. Add the value yourself . RE: formatting web browsers by FineWolf on 05-08-2007 at 10:19 PM
Or, if you need advanced browser detection: |