Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 26-03-2009
Member
 
Join Date: Dec 2008
Posts: 68
Problem with browscap

Hey Guys,

I had install browscap for php on my system. But the problem is that after installing when i restart apache2 it shows me an error message "error parsing browscap.ini". Can any body tell me what does this error means? Can any body tell me what changes i have to make in order to resolve this problem? Any information on this would be appreciated.

Thanks.
Reply With Quote
  #2  
Old 26-03-2009
Member
 
Join Date: Sep 2005
Posts: 1,306
Re: Problem with browscap

Do you have register_globals set to "On"? Try $_SERVER['HTTP_USER_AGENT'].

This variable exists independent from the browscap.ini file. You only need browscap.ini for the get_browser() function to work correctly.

This should work: $browser = get_browser($_SERVER['HTTP_USER_AGENT']);
Reply With Quote
  #3  
Old 26-03-2009
Member
 
Join Date: Apr 2008
Posts: 4,086
Re: Problem with browscap

There are also the bugs in both browscap.dll and PHP's get_browser(), which my files also support, to contend with. And of course there are always spoofed user agents. User agents that claim to be one thing, but in fact are often badly behaved bots masquerading as well behaved bots like Googlebot.
Reply With Quote
  #4  
Old 26-03-2009
Member
 
Join Date: Jan 2008
Posts: 3,751
Re: Problem with browscap

Microsoft has abandoned browscap.ini as a means of browser detection in favor of more sophisticated and better methods, there are still a large number of people who continue to rely upon browscap.ini for all sorts of purposes. With the data from my database being available in so many different formats it's easy to use it in any situation where accurate user agent detection is important.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Problem with browscap"
Thread Thread Starter Forum Replies Last Post
Sony VGNCS3 laptop 15 inch screen problem...LCD or CHIP problem? Mick$Tyler Hardware Peripherals 5 31-10-2010 06:49 AM
Blackberry Tour Youtube problem/facebook and phone freezing problem Lohitaksha Portable Devices 6 27-07-2010 12:10 AM
hard disk problem, clicking sound and windows problem rajat_2589 Hardware Peripherals 1 16-06-2010 11:34 PM
Toshiba satellite L305D-S5893 shutdown problem or bios update problem Colter Portable Devices 4 10-04-2010 04:19 PM
Hyperlink Problem, Unable to Open, A security problem has occurred LaKisha MS Office Support 1 30-11-2004 11:57 AM


All times are GMT +5.5. The time now is 08:41 PM.