[PHP-DEV] Re: patch for design violation in SAPI.c

2001-09-27 Thread Martin Jahn
Hi, > Did you find any bugs/problems related to this issue? Yeah i found a bug/problem related to this issue, but that one was not within the php distribution but in a php extension that was developed within our company. The coder of that extension did not know, that the cookie pointer should not

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/cpdf cpdf.c /ext/dba...

2001-09-27 Thread Andrei Zmievski
On Thu, 27 Sep 2001, Stig Sæther Bakken wrote: > ["Jeroen van Wolffelaar" <[EMAIL PROTECTED]>] > > jeroen Tue Sep 25 18:48:46 2001 EDT > > > > Modified files: > > /php4/ext/cpdf cpdf.c > > /php4/ext/dba dba.c dba_db2.c dba_db3.c dba_dbm.c dba_gdbm.c > >

[PHP-DEV] Re: [PATCH] patch for design violation in SAPI.c

2001-09-27 Thread Zeev Suraski
Did you find any bugs/problems related to this issue? The reason I ask is that we treat those pointers as pointers to data which is not ours. Later in the code where we actually use it, we create duplicates if necessary. That goes for the cookie_data, query_string and possibly other buffer p

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-27 Thread Zeev Suraski
At 12:52 27-09-01, Stig Sæther Bakken wrote: >Yes, definitely. > >But what do you think about the versioning scheme Jani proposed? -1 from me on it the way it is, I don't think that bumping the middle digit for every functionality change is a good idea. Bug-fixes and new functionality is intermi

[PHP-DEV] Bug #13466 Updated: Errors when using variables as the host parameter

2001-09-27 Thread neil . walker
ID: 13466 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: PHP Version: 4.0.6 New Comment: If I do: $user="frank"; $pwd="skinner"; $db="db.cp-productions.f2s.com:walkern"; The following works fine: $conn = mysql_con

[PHP-DEV] Bug #13466: Errors when using variables as the host parameter

2001-09-27 Thread neil . walker
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: Errors when using variables as the host parameter If I do: $user="frank"; $pwd="skinner"; $db="db.cp-productions.f2s.com:walkern"; The following works fine: $c

[PHP-DEV] Bug #13452 Updated: compiling fails because of missing target to 'zend_lanuage_scanner.lo'

2001-09-27 Thread MDecke
ID: 13452 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: solaris 8 PHP Version: 4.0CVS-2001-09-26 New Comment: Hi someone gave me a hint i've forgot to install the binutils for gcc now compiling does not fail anymor

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-27 Thread Andi Gutmans
At 12:52 PM 9/27/2001 +0200, Stig Sæther Bakken wrote: >But what do you think about the versioning scheme Jani proposed? I think we should see if we can't think of something more robust. I think returning a string such as "3.4.6" with the meaning Jani laid out is a first step but it doesn't giv

[PHP-DEV] Bug #13297 Updated: segfault in ociparse()

2001-09-27 Thread graeme
ID: 13297 Updated by: graeme Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: OCI8 related Operating System: Solaris-2.6 PHP Version: 4.0.6 New Comment: Turns out that our DBA in his infinite wisdom brought over an Oracle install from a Solaris-2.8 box. Quote: Some o

Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions

2001-09-27 Thread Stig Sæther Bakken
[Andi Gutmans <[EMAIL PROTECTED]>] > At 12:01 PM 9/26/2001 -0400, Joao Prado Maia wrote: > > >On Wed, 26 Sep 2001, Andi Gutmans wrote: > > > > > I think the key still lies in creating a repository for C extensions where > > > each extension can have its own release cycle. > > > > > > >That is als

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/cpdf cpdf.c /ext/dba...

2001-09-27 Thread Stig Sæther Bakken
["Jeroen van Wolffelaar" <[EMAIL PROTECTED]>] > jeroenTue Sep 25 18:48:46 2001 EDT > > Modified files: > /php4/ext/cpdfcpdf.c > /php4/ext/dba dba.c dba_db2.c dba_db3.c dba_dbm.c dba_gdbm.c Jeroen, Please don't "fix" things like this if you have

Fw: [PHP-DEV] New function: array_change_key_case()

2001-09-27 Thread Edin Kadribasic
Try #2 :) > Problem: > > I was faced with a problem of porting a large PHP application that was > originally written for Oracle to Postgres. The problem is that Oracle always > returns column names in uppercase, while Postgres does exactly the opposite. > So all the code that was handling rows re

[PHP-DEV] [PATCH] patch for design violation in SAPI.c

2001-09-27 Thread Martin Jahn
hello, i think i have a patch that should made it into your next release candidate before the problem is forgoten: the function sapi_module.read_cookies does return a pointer that is allocated within the addresspace of the server (f.e. apache). this is a violation of the idea behind modular prog

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-27 Thread Rasmus Lerdorf
> Interesting question actually. Any way to put a hard compile-time > variable [or php.ini only variable] that will not show the configure line in > phpinfo(). That seems very logical to ensure that customers can not > reproduce your exact setup with ease. I don't really understand why you