Bug #4856 Updated: have get_browser() not relying on external browscap.ini

From: Date: Sat, 27 Apr 2002 17:28:03 +0000
Subject: Bug #4856 Updated: have get_browser() not relying on external browscap.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6241@lists.php.net to get a copy of this message
ID: 4856 Updated by: jimw@php.net Reported By: hartmut@six.de -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: * -PHP Version: 4.0 Latest CVS (07/06/2000) +PHP Version: 4.0 Latest CVS ( New Comment: pear has a class to handle this now. Previous Comments: ------------------------------------------------------------------------ [2000-06-07 08:43:56] hartmut@six.de the current situation regarding the browscap.ini file needed by get_browser() makes the whole function useless (IMHO) having a core function in an open source project rely on data from a closed source file you may not redistribute, you have to register for and that is not even up to date doesn't make sense two alternatives: - create a open/free browscap database updateble by everyone and distributable under a public license - as the 'big' browsers all use the same format -> parse/tokenize HTTP_USER_AGENT for information an browse through browscap only if USER_AGENT format is unknown (there is lots of PERL code available for browser identifikation for a start) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=4856&edit=1

« previous php.bugs (#6241) next »