faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 22 people (45%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

shell variables like $HTTP_USER_AGENT dont return value

Mar 15th, 2008 18:17
ha mo, Amit Arora, paramjeet Singh,


In PHP version 4.1.0 or higher, you can get the user agent like this
$_SERVER["HTTP_USER_AGENT"]
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com