php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18 get_browser() doesn't work.
Submitted: 1998-01-28 10:25 UTC Modified: 1998-01-28 12:09 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: fdeleau at comtech dot be Assigned:
Status: Closed Package: Other
PHP Version: 3.0b3 OS: Linux 2.0.33
Private report: No CVE-ID: None
 [1998-01-28 10:25 UTC] fdeleau at comtech dot be
I have php3.0b3 compiled as a module for Apache 1.2.5

The httpd process crashes (segmentation fault)when the 
following line is executed:
        
       <? $browser = get_browser(); ?>

The browscap.ini I'm using comes from http://php.netvision.net.il/browscap/

* My configure line:
--------------------

./configure --disable-debug --with-apache=/usr/src/apache_1.2.5 --with-mysql=/usr/src/mysql-3.21.18a-beta --with-config-file-path=/etc/httpd/conf --with-config-file=php3.ini

* In php3.ini, I have :
-----------------------

[browscap]
browscap = "/etc/httpd/conf/browscap.ini"


Regards,
Fabrice

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-28 12:09 UTC] zeev
The problem was that the regular expression libraries used by PHP and apache weren't the same.
get_browser() uses regex's, which caused the problem.
 [2013-12-24 12:19 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ddf733fa6974e6ada3aec52005611f9b4647beb5
Log: Fixed #18 Errors not displaying in some configurations
 [2013-12-24 12:19 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8064d8dfd6fc5a0433efcd5c38665c450f842888
Log: Fixed #18 Errors not displaying in some configurations
 [2013-12-24 12:20 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ddf733fa6974e6ada3aec52005611f9b4647beb5
Log: Fixed #18 Errors not displaying in some configurations
 [2013-12-24 12:20 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8064d8dfd6fc5a0433efcd5c38665c450f842888
Log: Fixed #18 Errors not displaying in some configurations
 [2013-12-24 21:07 UTC] ab@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ddf733fa6974e6ada3aec52005611f9b4647beb5
Log: Fixed #18 Errors not displaying in some configurations
 [2013-12-24 21:07 UTC] ab@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=8064d8dfd6fc5a0433efcd5c38665c450f842888
Log: Fixed #18 Errors not displaying in some configurations
 [2014-10-28 21:16 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=36f487a32cb8b9d61bbcbc37c43b7a973dbcc7f8
Log: Fixed #18 Errors not displaying in some configurations
 [2014-10-28 22:00 UTC] bwoebi@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=36f487a32cb8b9d61bbcbc37c43b7a973dbcc7f8
Log: Fixed #18 Errors not displaying in some configurations
 [2014-10-29 14:34 UTC] jpauli@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=36f487a32cb8b9d61bbcbc37c43b7a973dbcc7f8
Log: Fixed #18 Errors not displaying in some configurations
 [2014-11-18 20:35 UTC] ab@php.net
Automatic comment on behalf of bobwei9@hotmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=36f487a32cb8b9d61bbcbc37c43b7a973dbcc7f8
Log: Fixed #18 Errors not displaying in some configurations
 [2020-01-20 09:46 UTC] nikic@php.net
Automatic comment from SVN on behalf of nikic
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=348960
Log: Fix mysqli_get_client_info() parameter list

Patch by kocsismate.

Closes php/doc-en#18.
 [2020-01-20 10:15 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=348961
Log: Fix mysqli_get_client_info() parameter list

Patch by kocsismate.

Closes php/doc-en#18.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 28 09:01:28 2024 UTC