Re: [PHP] Check browser-type?

2002-01-25 Thread Nick Wilson


* and then Mårten Andersson blurted
 Hello.
  
 I need to check wich browser-type and/or OS an visitor have to a page
  
 Is this posible with PHP?
 I have just started with this programing language and it’s a bit
 difficult to search in PHP.net when I don’t know exactly what I am
 looking for.. =) 

Check out $HTTP_USER_AGENT
It contains all you need.

There is a good tutorial on this at www.sitepoint,com (you'll have to
search) and all the other good sites have covered it.

eg,
www.phpbuilder.com
www.devshed.com

Have fun.
-- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com






msg47464/pgp0.pgp
Description: PGP signature


RE: [PHP] Check browser-type?

2002-01-25 Thread Michael Geier

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

-Original Message-
From: Mårten Andersson [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Check browser-type?


Hello.

I need to check wich browser-type and/or OS an visitor have to a page
I’m developing. I need to know if the browser /OS is a handheld
computer.. Or at least check if it’s NOT a handheld computer.

Is this posible with PHP?
I have just started with this programing language and it’s a bit
difficult to search in PHP.net when I don’t know exactly what I am
looking for.. =)

Thanks.
//Mårten



--
Mårten Andersson
Loddbygatan 2
60218 Norrköping
Sverige

ICQ: 86515830
URL: http://www.vanvett.net/marten



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]