php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5650 ext/standard/browscap.c; get_browser() [browser_reg_compare(zval **browser)]
Submitted: 2000-07-18 01:52 UTC Modified: 2000-08-01 07:19 UTC
From: ken at toast dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 OS: FreeBSD 3.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ken at toast dot com
New email:
PHP Version: OS:

 

 [2000-07-18 01:52 UTC] ken at toast dot com
To fix:

I have some patches of the source code changes that I had to make to get it working, at:
   http://www.toast.com/patches/php4_browscap.tgz\

Also, in order to get this to work, and not coredump on me, I needed to turn on ZEND_DEBUG in the php_config.h file.

Don't know why this is, and frankly don't have enough time to investigate either, just needed to get the darn browscap stuff working.

If someone wants to patch the source tree that's fine with me; I couldn't be bothered getting a CVS account, and etc, etc for what is probably the only patch I will ever make for php.

If anyone wants proof that I have get_browser running in PHP4, goto:
  http://www.toast.com/common/util/

Click on the "browsercap.htm" file.

'night folks!

Ken Allan.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-18 02:04 UTC] ken at toast dot com
Sorry - url should be:
  http://www.toast.com/patches/php4_browscap.tgz

Ken.
 [2000-07-23 13:34 UTC] stas at cvs dot php dot net
Please look at current CVS - should cure your problems.
 [2000-08-01 07:19 UTC] stas@php.net
colsing - please repopen if you still have problems.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC