This is a discussion on Visitor's browser information within the PHP Programming forums, part of the Web Development category; Can anybody tell me how i get visitor browser information? I want to collect the viewer information in my site ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| You can do this by using the variable $HTTP_USER_AGENT, which holds information about browser version, name etc. If you want a class that can parse the information out of the variable look at the PHP Client Sniffer. |
| |||
| You can also use php's get_browser function, though it has it drawbacks,because you need a browsercap.ini which has to be present at your isp, it gives much more information than other ways.To read more about get_browser, look here. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| get the information of the browser? | saravanan | HTML, CSS and Javascript Coding Techniques | 1 | 04-15-2008 06:03 AM |
| Microsoft Information | Shanthi | Technology BUZZzzzzz | 5 | 03-21-2008 04:12 AM |
| How to resize a visitor's browser? | jeyaprakash.c | HTML, CSS and Javascript Coding Techniques | 4 | 10-14-2007 10:20 PM |
| visitor's IP Address | sivaramakrishnan | PHP Programming | 1 | 07-17-2007 08:01 AM |
| Information and code samples | rgm5 | Ruby | 0 | 02-23-2007 06:51 AM |