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

From: Date: Wed, 07 Jun 2000 06:43:56 +0000
Subject: PHP 4.0 Bug #4856: have get_browser() not relying on external browscap.ini
Groups: php.dev 
Request: Send a blank email to php-dev+get-20436@lists.php.net to get a copy of this message
From: hartmut@six.de Operating system: * PHP version: 4.0 Latest CVS (07/06/2000) PHP Bug Type: Feature/Change Request Bug description: have get_browser() not relying on external browscap.ini 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)

« previous php.dev (#20436) next »