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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 07:01:30 2024 UTC