Re: [PHP-DEV] is_link() behavior

2001-04-25 Thread Andi Gutmans
At 01:05 AM 4/25/2001 -0500, J. Jones wrote: On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote: I commited another fix. is_link() should work correctly now. If things have improved and you have problems with lstat() and filetype() (which I think there's a good chance that they

Re: [PHP-DEV] is_link() behavior

2001-04-25 Thread J. Jones
On Wed, Apr 25, 2001 at 01:05:00AM -0500, J. Jones wrote: On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote: I commited another fix. is_link() should work correctly now. If things have improved and you have problems with lstat() and filetype() (which I think there's a good

[PHP-DEV] Bug #9530 Updated: Apache will not start with PayFlow Pro SDK

2001-04-25 Thread jdonagher
ID: 9530 Updated by: jdonagher Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Verisign Payflow Pro related PHP Version: 4.0.4pl1 Assigned To: [EMAIL PROTECTED] Comments: Since I work on this extension for my company, work on this will progress when Verisign converts our account from

Re: [PHP-DEV] is_link() behavior

2001-04-25 Thread Andi Gutmans
At 01:19 AM 4/25/2001 -0500, J. Jones wrote: On Wed, Apr 25, 2001 at 01:05:00AM -0500, J. Jones wrote: On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote: I commited another fix. is_link() should work correctly now. If things have improved and you have problems with lstat()

[PHP-DEV] Bug #9530 Updated: Apache will not start with PayFlow Pro SDK

2001-04-25 Thread jdonagher
ID: 9530 Updated by: jdonagher Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: Verisign Payflow Pro related PHP Version: 4.0.4pl1 Assigned To: [EMAIL PROTECTED] Comments: As a sidenote, commenting out the pfpro_version function will not solve the problem. There are

Re: [PHP-DEV] RE: 4.0.5: Merge Request

2001-04-25 Thread Rasmus Lerdorf
OK, my opinion would be to put a copy of the currently known bugs with the RC source. To give people a local (ie offline) list to look at. Then, why not use a ranking scheme, people rate how much they feel a specific bug needs fixing before the new version.. ie Having people vote or rate

[PHP-DEV] Bug #10486: IIS causes the Internal server error

2001-04-25 Thread kamik
From: [EMAIL PROTECTED] Operating system: Win NT4 IIS4 PHP version: 4.0.4pl1 PHP Bug Type: IIS related Bug description: IIS causes the Internal server error When I have installed PHP 4.0.4pl1 all things runs good until I have aded one virtual web which should run in

[PHP-DEV] Bug #10487: Uploaded files get prepended with 'Content-Type: ...' string

2001-04-25 Thread t
From: [EMAIL PROTECTED] Operating system: Linux RedHat 7.0 PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: Uploaded files get prepended with 'Content-Type: ...' string HTML BODY ?php define(MAX_SIZE, 100); define(UPLOAD, 0); define(SUBMIT, 1);

Re: [PHP-DEV] Timeout Function

2001-04-25 Thread Wico de Leeuw
At 13:53 24-4-2001 -0700, Rasmus Lerdorf wrote: I would like to see a timeout function implemented in PHP (something like Perl's alarm function would be perfect). I notice there is a set_time_limit() function in PHP, but it cannot be applied to a specified block of code (it applies to the

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: 4.0.5: Merge Request

2001-04-25 Thread Phil Driscoll
No new ideas here, just clarification of what I think we should do with the current technology available. As far as I remember, someone is rewriting the bug db (or maybe I was dreaming?). If so, then a new 'importance' field can be added to rank the bug as showstopper, important etc. The fact

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-25 Thread Cynic
At 07:35 25.4. 2001, Rasmus Lerdorf wrote the following: -- Nobody is talking about such an illusion. Let's not lose track of what caused this ruckus. A crash bug was found and fixed in a mainstream extension. It was just before a

[PHP-DEV] Bug #10488: --with-regex=apache fails to resolve php_regcomp when loading Apache

2001-04-25 Thread achowe
From: [EMAIL PROTECTED] Operating system: Redhat Linux 5.1 (MIPS) PHP version: 4.0.4pl1 PHP Bug Type: Dynamic loading Bug description: --with-regex=apache fails to resolve php_regcomp when loading Apache System: Cobalt Qube 1 uname -a: Linux mail.snert.net 2.0.34C52_SK #1

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-25 Thread Jon Parise
On Tue, Apr 24, 2001 at 11:04:33PM -0700, Rasmus Lerdorf wrote: Yes, but that is my point. They should not be asking people to fix bugs. They should simply be identifying and prioritizing the bugs. As a group we need to fix the bugs. Jani is complaining that they are ignored, so we need to

Re: [PHP-DEV] hebrew error messages?

2001-04-25 Thread Andrei Zmievski
Hardly. :) I just asked the same question of you, oh, about a year ago. On Wed, 25 Apr 2001, Zeev Suraski wrote: Andrei's Hebrew sure is getting better :) At 21:15 24/4/2001, Andrei Zmievski wrote: On Tue, 24 Apr 2001, Colin Viebrock wrote: Parse error: parse error, expecting

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-25 Thread Andrei Zmievski
On Tue, 24 Apr 2001, Sterling Hughes wrote: Hrmm.. I think its not a bad idea to encourage (even more :) bug fixing for the next release, but I don't think restricting valuable and/or needed features is a good idea. Grr.. I'd really like for 4.0.5 to come out soon, it's holding up a number

[PHP-DEV] Bug #10484 Updated: Problem with insert in ODBC

2001-04-25 Thread kalowsky
ID: 10484 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related PHP Version: 4.0.4pl1 Assigned To: Comments: unless I'm missing something your INSERT statement is not correct. Previous Comments:

[PHP-DEV] for --Jani

2001-04-25 Thread Eduardo Mena
Hi Jani, Thank you for your response. Installed released PHP 4.0.5, the problems was done, but no work in my aplications the method POST. I don,t know if a problems with configuration o with Apache in NT. Thank you again for your interest. God bless Eduardo Mena Costa Rica Vista Verde

[PHP-DEV] Bug #10489: quoted_printable_decode() imap_qprint() decodes control codes.

2001-04-25 Thread slaygon
From: [EMAIL PROTECTED] Operating system: Linux 2.4.3 PHP version: 4.0.4pl1 PHP Bug Type: *Mail Related Bug description: quoted_printable_decode() imap_qprint() decodes control codes. quoted_printable_decode() and imap_qprint() decodes control codes aswell. This, I

[PHP-DEV] Bug #10490: xslt_process() generates fatal error

2001-04-25 Thread svein-roar . nilsen
From: [EMAIL PROTECTED] Operating system: Debian Unstable PHP version: 4.0 Latest CVS (25/04/2001) PHP Bug Type: Sablotron XSL Bug description: xslt_process() generates fatal error Well, not actually the latest CVS, but RC6-2 from Debian Unstable, which should be close

[PHP-DEV] Bug #10484 Updated: Problem with insert in ODBC

2001-04-25 Thread kalowsky
ID: 10484 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: ODBC related PHP Version: 4.0.4pl1 Assigned To: Comments: you're correct insert statement is fine, needed more wake up time on that. your odbc_connect is wrong. you need to provide 3 or

[PHP-DEV] Bug #8358 Updated: SOUNDEX, MSSQL, and EXTENDED_FETCH with OpenLink

2001-04-25 Thread kalowsky
ID: 8358 Updated by: kalowsky Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: ODBC related PHP Version: 4.0.4 Assigned To: Comments: no user feedback. considered fixed in cvs. if this untrue, please reopen the bug. Previous Comments:

[PHP-DEV] CCVS Bug [#10447]

2001-04-25 Thread Brendan W. McAdams
Just a note to all since the topic of 'showstopping bugs' has come up: I don't feel this bug should affect the release in any way. However: It is a definite problem and should be listed as a 'known issue'; I am working with RedHat on getting a resolution to this issue. -Brendan -- PHP

[PHP-DEV] $this-AuthTblCols[$colname] == 0 = false

2001-04-25 Thread Anders Biström
Encountered a bug in the bugreport system: Warning: Could not execute mail delivery program in local/Web/sites/phpweb/bugs.php on line 412 Operating system: SuSE 6.2 / Linux 2.4.2 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description:

Re: [PHP-DEV] PHP, Xerces, Xalan

2001-04-25 Thread Jascha Wetzel
Greetings, i just implementet php_xalan and it kind of works but we're still having problems combining it with php-4.0.4pl1. Strange things happen when php uses libxalan and libxerces. After everything worked fine, the xslt sheet has been processed correctly and the module and the libs have been

[PHP-DEV] Bug #10487 Updated: Uploaded files get prepended with 'Content-Type: ...' string

2001-04-25 Thread rasmus
ID: 10487 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: HTTP related PHP Version: 4.0.4pl1 Assigned To: Comments: This has been fixed in CVS and will be part of 4.0.5 See bug #9298 Previous Comments:

Re: [PHP-DEV] PHP, Xerces, Xalan

2001-04-25 Thread Rasmus Lerdorf
Probably won't make a difference, but I would suggest the current CVS version of PHP for bleeding-edge development like this. That will also make it easier for other PHP developers to go in and try to help you out as they tend to work with current CVS. -Rasmus On Wed, 25 Apr 2001, Jascha

Re: [PHP-DEV] PHP, Xerces, Xalan

2001-04-25 Thread Andi Gutmans
At 06:14 PM 4/25/2001 +0200, Jascha Wetzel wrote: Greetings, i just implementet php_xalan and it kind of works but we're still having problems combining it with php-4.0.4pl1. Strange things happen when php uses libxalan and libxerces. After everything worked fine, the xslt sheet has been

Re: [PHP-DEV] RE: 4.0.5: Merge Request

2001-04-25 Thread Stephen van Egmond
John Donagher ([EMAIL PROTECTED]) wrote: Someone mentioned the idea of bug-squashing parties; I think that's a great idea, although since the project's developers are all over the world it may be a little tricky to organize (I'm not fixing bugs at 10AM). Debian's bug parties are weekend-long

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-25 Thread Stephen van Egmond
Andi Gutmans ([EMAIL PROTECTED]) wrote: For the QA guys it might be nice to be able to flag certain bugs in the bug database and then automatically create a summary page which could be sent to php-dev. However, I think it would take too much time to get started. Maybe just manually

[PHP-DEV] Compiling PHP as a NLM

2001-04-25 Thread Davin Thompson
I am currently attempting to compile PHP as an NLM. Unfortunately, my programming skills fall short of the task, but I am wading my way through it. What I am currently stuck on is where in the php4 configure script (if this is the right place to do it at) should I add the following to have it

[PHP-DEV] Bug #9612 Updated: iPlanet 4.0 SP3 install obj.conf

2001-04-25 Thread avsm
ID: 9612 Updated by: avsm Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: iPlanet related PHP Version: 4.0 Latest CVS (07/03/2001) Assigned To: Comments: Try the following obj.conf entry, and see if it fixes your problem. Apart from this change, you should follow

[PHP-DEV] Bug #8376 Updated: IPlanet 4.1 fails to load PHP module

2001-04-25 Thread avsm
ID: 8376 Updated by: avsm Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: iPlanet related PHP Version: 4.0.4 Assigned To: Comments: Try the following obj.conf entry, and see if it fixes your problem. Apart from this change, you should follow the manual entry for the

[PHP-DEV] Bug #9602 Updated: Unable to compile with NSAPI support, implicit declaration of finite function

2001-04-25 Thread avsm
ID: 9602 Updated by: avsm Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: iPlanet related PHP Version: 4.0.4pl1 Assigned To: Comments: Try the following obj.conf entry, and see if it fixes your problem. Apart from this change, you should follow the manual entry for

[PHP-DEV] Bug #10493 Updated: Secure IMAP server connection failure

2001-04-25 Thread chagenbu
ID: 10493 Updated by: chagenbu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: IMAP related PHP Version: 4.0.4pl1 Assigned To: Comments: Support for imap-ssl wasn't correctly added until revision 1.62 of php_imap.c, which was first in php4.0.5 RC1. Previous Comments:

Re: [PHP-DEV] PHP, Xerces, Xalan

2001-04-25 Thread Jascha Wetzel
my extension is as simple as it could be. you can find the sources at http://www.nttslab.de/php_xalan/ i'd really like to create a xalan module for your xslt extension, since i only wanted to get xalan running as simple as possible, but of course appreciate if someone is doing it right. what

[PHP-DEV] Bug #10494: ' crashes wddx_deserialize

2001-04-25 Thread gin
From: [EMAIL PROTECTED] Operating system: solaris (?) hosted by puretec.de PHP version: 4.0.4pl1 PHP Bug Type: WDDX related Bug description: ' crashes wddx_deserialize ? $arr = array(hello=there, i'm = 30); foreach ($arr as $name = $value) echo(name: $name, value:

[PHP-DEV] Bug #8352 Updated: mysql_field_len on a decimal field only report the length before the dot

2001-04-25 Thread rasmus
ID: 8352 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related PHP Version: 4.0.2 Assigned To: Comments: User misunderstood how MySQL's decimal() works. Previous Comments:

Re: [PHP-DEV] PHP, Xerces, Xalan

2001-04-25 Thread Rasmus Lerdorf
my extension is as simple as it could be. you can find the sources at http://www.nttslab.de/php_xalan/ i'd really like to create a xalan module for your xslt extension, since i only wanted to get xalan running as simple as possible, but of course appreciate if someone is doing it right.

[PHP-DEV] RE: 4.0.5: Merge Request

2001-04-25 Thread James Moore
Its doesnt at all :) We are using it as a temporary codename until we can think of a better one. - James -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: 25 April 2001 18:42 To: James Moore Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: 4.0.5: Merge

Re: [PHP-DEV] Compiling PHP as a NLM

2001-04-25 Thread Matt White
Davin; I've been wanting to do this for a while (compile PHP as an Apache/NetWare module). If you need help, please let me know. I don't have a NetWare compiler, but I've been needing a reason to get one. The flags that are being passed into GCC control the way it compiles (In order... All

[PHP-DEV] Bug 8352 should be closed

2001-04-25 Thread Matt McClanahan
Bug #8352 is invalid, the reporter misunderstood how MySQL's decimal field works. The behavior of mysql_field_len is correct. The SQL line 'price decimal(9,2)' calls for 9 digits, two of which are after the decimal point. http://www.php.net/bugs.php?id=8352edit=1 Matt -- PHP Development

[PHP-DEV] Bug #10495: Crash with ob_start();

2001-04-25 Thread vvtk
From: [EMAIL PROTECTED] Operating system: RedHat 6.2 PHP version: 4.0 Latest CVS (25/04/2001) PHP Bug Type: Reproduceable crash Bug description: Crash with ob_start(); Segmentation fault with next script ? function my_h($str){ global $HTTP_ACCEPT_ENCODING,$NO_COMPRESS;

[PHP-DEV] CVS Account Request

2001-04-25 Thread CVS Account Request
Full name: Jascha Wetzel Email: [EMAIL PROTECTED] ID: entity Purpose: php_xalan and realated module development -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP-DEV] RE: [PHP-QA] Re: 4.0.5: Merge Request

2001-04-25 Thread Liz
you should subscribe to the [EMAIL PROTECTED] list where discussion about a new bug system is occuring. Im curious as to whats going on in the jitterbug list coz I'd like to help work on it, but its not like you goto a point and download the current bug pages to help fix/add to it.. --

[PHP-DEV] Re: [PHP-QA] Re: 4.0.5: Merge Request

2001-04-25 Thread Zak Greant
No - this is just a coincidence. James and the boys are still looking for a difference name. --zak - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: James Moore [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 11:41 AM Subject:

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-25 Thread Rasmus Lerdorf
Andi Gutmans ([EMAIL PROTECTED]) wrote: For the QA guys it might be nice to be able to flag certain bugs in the bug database and then automatically create a summary page which could be sent to php-dev. However, I think it would take too much time to get started. Maybe just manually

[PHP-DEV] PHP 4.0 Bug #10484 Updated: Problem with insert in ODBC

2001-04-25 Thread Domlane
ID: 10484 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: ODBC related Description: Problem with insert in ODBC $BD = odbc_connect ('BdTest', SQL_CUR_USE_DRIVER); should be read like $BD = odbc_connect ('BdTest', '', '', SQL_CUR_USE_DRIVER); but still not

Re: [PHP-DEV] PHP, Xerces, Xalan

2001-04-25 Thread Jascha Wetzel
ehrm, sorry that should've gone out to sterling ;) -- sincerely entity Jascha Wetzel [EMAIL PROTECTED] wrote in message 9c71jc$p7e$[EMAIL PROTECTED]">news:9c71jc$p7e$[EMAIL PROTECTED]... my extension is as simple as it could be. you can find the sources at http://www.nttslab.de/php_xalan/

[PHP-DEV] CVS Account Request

2001-04-25 Thread CVS Account Request
Full name: Eduard Hergenroeder Email: [EMAIL PROTECTED] ID: eduard Purpose: phpdoc(ger) -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Compiling PHP as a NLM

2001-04-25 Thread Davin Thompson
actually, I am using GCC here is a page that may be of some interest to you http://www.penguin.cz/~mhi/nlm/NLM-HOWTO/NLM-HOWTO.html I finaly figured out that I could set all the options I needed in the file "config_vars.mk", now i am fighting with POSIX it does not want to die

[PHP-DEV] Bug #10494 Updated: ' crashes wddx_deserialize

2001-04-25 Thread andrei
ID: 10494 Updated by: andrei Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: WDDX related PHP Version: 4.0.4pl1 Assigned To: andrei Comments: Previous Comments: --- [2001-04-25 13:49:29] [EMAIL

[PHP-DEV] Bug #10496: segfault on parse error

2001-04-25 Thread teo
From: [EMAIL PROTECTED] Operating system: SuSE7.0 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: segfault on parse error Given the complexity of the whole app, I couldn't make a small script. The offending code was: $tplBoxes = array (); ?php

[PHP-DEV] Bug #10497: Not connect with MySql

2001-04-25 Thread erick
From: [EMAIL PROTECTED] Operating system: Windows NT PHP version: 4.0.4pl1 PHP Bug Type: MySQL related Bug description: Not connect with MySql Estas dos sentencias si funcionan en la versión 4.03 de php, pero en la 4.04pl1 no funcionan; no se conecta php a MySql. $db =

[PHP-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread cynic
ID: 10497 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: please report bugs in English. Previous Comments: ---

[PHP-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread cynic
ID: 10497 Updated by: cynic Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: ah, right: this worked in 4.0.3 but doesn't work in 4.0.4 pl1, right? what error message do you get? Previous Comments:

[PHP-DEV] Re: Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread Erick Tomás Izquierdo Cerra
this is the error: Fatal error: Maximum execution time of 30 seconds exceeded in D:\Mis Documentos\Web\temp\ok.php on line 2 and this is the script: ? $db = mysql_connect("localhost","root"); mysql_select_db(portal,$db); $query = "select hora from noticias order by fecha"; $r_noticias =

[PHP-DEV] sprintf and strings with NULL byte

2001-04-25 Thread Andrei Zmievski
Do we have any facilities (in C) for sprintf'ing the strings that may have NULL byte inside? For example, if name is foo\0bar, and name_len is 7, sprintf(buf, name: %*s, name_len, name); Does not give the correct result - stops at the first null byte. -Andrei The secret of flying is

[PHP-DEV] Bug #10498: Missing expansion of the PHP acronym--must stand for something? What?

2001-04-25 Thread pchase
From: [EMAIL PROTECTED] Operating system: WinNT4 PHP version: 4.0.4pl1 PHP Bug Type: Documentation problem Bug description: Missing expansion of the PHP acronym--must stand for something? What? Go to http://www.php.net and you will (not) see the problem. It is especially

[PHP-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread cynic
ID: 10497 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: user feedback: this is the error: Fatal error: Maximum execution time of 30 seconds exceeded in D:\Mis

[PHP-DEV] sybase-ct and datetime results

2001-04-25 Thread Björn Dolkemeier
(I posted this also to php.db, but the more I think php.dev would be a better place) Hello, If I do a sybase_query(select getdate(),$Conn) this will return the current date in the format Nov 3 1998 8:06PM (so I don't have seconds). I think this leads to the usage of CS_SHORT_DATE in

[PHP-DEV] Bug #10498 Updated: Missing expansion of the PHP acronym--must stand for something? What?

2001-04-25 Thread cynic
ID: 10498 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Documentation problem PHP Version: 4.0.4pl1 Assigned To: Comments: PHP stands for PHP: Hypertext Preprocessor (it's recursive), it's in the manual:

[PHP-DEV] PHP 4.0 Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread erick
ID: 10497 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Description: Not connect with MySql this is the error: Fatal error: Maximum execution time of 30 seconds exceeded in D:\Mis Documentos\Web\temp\ok.php on line 2 and this is the script in php: ? $db

Re: [PHP-DEV] Bug #10496: segfault on parse error

2001-04-25 Thread teo
Hi php-dev! On Wed, 25 Apr 2001, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: SuSE7.0 PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: segfault on parse error Given the complexity of the whole app, I couldn't make a

Re: [PHP-DEV] sprintf and strings with NULL byte

2001-04-25 Thread rasmus
Do we have any facilities (in C) for sprintf'ing the strings that may have NULL byte inside? For example, if name is foo\0bar, and name_len is 7, sprintf(buf, name: %*s, name_len, name); Does not give the correct result - stops at the first null byte. Don't think so. And it also

Re: [PHP-DEV] sprintf and strings with NULL byte

2001-04-25 Thread Andrei Zmievski
On Wed, 25 Apr 2001, Rasmus Lerdorf wrote: Don't think so. And it also doesn't work if the format string contains a null byte because the parsing loop does: while (format[inpos]) { ... I don't see any reason to not change this to loop over (*args[0])-value.str.len instead here. As

[PHP-DEV] Bug #10499: User abort causes page to be dumped into error_log

2001-04-25 Thread dbenson
From: [EMAIL PROTECTED] Operating system: Linux / Solaris PHP version: 4.0.4pl1 PHP Bug Type: Output Control Bug description: User abort causes page to be dumped into error_log With output buffering enabled, if the user presses the stop button in their web client on a page

Re: [PHP-DEV] sprintf and strings with NULL byte

2001-04-25 Thread rasmus
As for the %*s issue. We are passing in the length of the string arg in the call: php_sprintf_appendstring(result, outpos, size, (*args[argnum])-value.str.val, width, precision, padding,

Re: [PHP-DEV] sprintf and strings with NULL byte

2001-04-25 Thread Andrei Zmievski
On Wed, 25 Apr 2001, [EMAIL PROTECTED] wrote: Oh, and I went and fixed this anyway. That's cool. I'd just split that php_formatted_print() function into two parts. One that does the argument handling and one that just does the work like we have done with so many other functions. Yes, we

Re: [PHP-DEV] sprintf and strings with NULL byte

2001-04-25 Thread Andrei Zmievski
On Wed, 25 Apr 2001, [EMAIL PROTECTED] wrote: Well, no, because it is now binary-clean! ;) Do you need exact 1:1 parity? It does most of the things that glibc printf() does. I don't need it right now, just venting it out as a thought for the future.. -Andrei * If Bill Gates had a nickel

[PHP-DEV] Bug #10500: Misbehaving function

2001-04-25 Thread dragan
From: [EMAIL PROTECTED] Operating system: Win98 SE PHP version: 4.0.4pl1 PHP Bug Type: Reproduceable crash Bug description: Misbehaving function This is exactly the same problem as bug #3627. OS: Win98 SE Running Apache Server 1.3.9 with PHP 4.0.4pl1. I'm trying to upload

[PHP-DEV] PHP 4.0 Bug #10500 Updated: Misbehaving function

2001-04-25 Thread dragan
ID: 10500 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: Misbehaving function Previous Comments: --- [2001-04-25 17:42:40] [EMAIL PROTECTED] This is exactly the same problem as

[PHP-DEV] PHP 4.0 Bug #10500 Updated: Misbehaving function

2001-04-25 Thread dragan
ID: 10500 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Reproduceable crash Description: Misbehaving function It appears to be that 5884001 bytes (or so) is the upper limit of the file size -- doesn't matter what the php.ini options are. I tried even rebooting the whole machine

Re: [PHP-DEV] sprintf and strings with NULL byte

2001-04-25 Thread Stig Sæther Bakken
[[EMAIL PROTECTED]] On Wed, 25 Apr 2001, [EMAIL PROTECTED] wrote: Oh, and I went and fixed this anyway. That's cool. I'd just split that php_formatted_print() function into two parts. One that does the argument handling and one that just does the work like we have done with

Re: [PHP-DEV] Notes on four MySQL bugs

2001-04-25 Thread Rasmus Lerdorf
You can go ahead and close these. If you stick edit=1 on the bug url and use your cvs username/password you can add these comments directly to the reports and close the bugs. -Rasmus On Wed, 25 Apr 2001, Matt McClanahan wrote: Some more bug comments. They all look like they can be closed to

[PHP-DEV] Notes on four MySQL bugs

2001-04-25 Thread Matt McClanahan
Some more bug comments. They all look like they can be closed to me: 8634: User is expecting the default link identifier to switch back to $db after he closed $db2, which isn't how it works. Not a bug. 9455: I don't know what we're supposed to do with this one. Should be solved in a support

[PHP-DEV] Bug #9734 Updated: Error

2001-04-25 Thread cynic
ID: 9734 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: watch this: mysql show tables; ++ | Tables_in_test | ++ | foo| ++ 1

[PHP-DEV] Bug #10498 Updated: Missing expansion of the PHP acronym--must stand for something? What?

2001-04-25 Thread rasmus
ID: 10498 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Documentation problem PHP Version: 4.0.4pl1 Assigned To: Comments: It's also right in the titlebar of your browser when you go to www.php.net Previous Comments:

[PHP-DEV] Bug #10501: array_sumn causes segfault when used with unset vars

2001-04-25 Thread lee
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: array_sumn causes segfault when used with unset vars ?php $result = array_sum($test); ? causes a seg fault because $test is not set. no error is

Re: [PHP-DEV] sybase-ct and datetime results

2001-04-25 Thread Brian Foddy
On Wed, 25 Apr 2001 22:59:15 +0200, Bj,rn Dolkemeier wrote: (I posted this also to php.db, but the more I think php.dev would be a better place) Hello, If I do a sybase_query(select getdate(),$Conn) this will return the current date in the format Nov 3 1998 8:06PM (so I don't have

[PHP-DEV] Bug #10501 Updated: array_sumn causes segfault when used with unset vars

2001-04-25 Thread bbonev
ID: 10501 Updated by: bbonev Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: this is fixed in CVS, wait for 4.0.5 $ ./php ?php $result = array_sum($test); ? X-Powered-By: PHP/4.0.5RC6

[PHP-DEV] PHP 4.0 Bug #10484 Updated: Problem with insert in ODBC

2001-04-25 Thread Domlane
ID: 10484 User Update by: [EMAIL PROTECTED] Old-Status: Bogus Status: Closed Bug Type: ODBC related Description: Problem with insert in ODBC Previous Comments: --- [2001-04-25 11:32:16] [EMAIL PROTECTED] $BD =

[PHP-DEV] Bug #9455 Updated: Call to undefined function: mysql_connect()

2001-04-25 Thread cardinal
ID: 9455 Updated by: cardinal Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: Closing, this is most likely an issue with the installation, and not a PHP bug. For help identifying the problem, consider one of

[PHP-DEV] PHP 4.0 Bug #10484 Updated: Problem with insert in ODBC

2001-04-25 Thread Domlane
ID: 10484 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: ODBC related Description: Problem with insert in ODBC Found the solution!! Have to change security on my DB.mdb file to allow internet user to modify my file! Thanks! Previous Comments:

[PHP-DEV] Bug #10502 Updated: parsing for HTTP_POST_VARS drops duplicates

2001-04-25 Thread cynic
ID: 10502 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request PHP Version: 4.0.4pl1 Assigned To: Comments: this is by design. take a look at this (you'll have to edit it): function _QueryString() {

Re: [PHP-DEV] Bug #10502 Updated: parsing for HTTP_POST_VARS drops duplicates

2001-04-25 Thread Zak Greant
Cynic wrote: [snip] this is by design. take a look at this (you'll have to edit it): function _QueryString() { $qsstr = '' ; $qsarr = array() ; $QS = strtr( $GLOBALS['HTTP_SERVER_VARS'][QUERY_STRING] , array( '[' = '' , ']' = '' ) ) ;

Re: [PHP-DEV] Bug #10502 Updated: parsing for HTTP_POST_VARS drops duplicates

2001-04-25 Thread Cynic
Urrgh, yes, you're right. Sorry, up all night. None that I know of... FWIW IIRC there was a feature request quite a long ago... At 08:02 26.4. 2001, Zak Greant wrote the following: -- Cynic wrote: [snip] this is by design. take a

[PHP-DEV] Bug #10502 Updated: parsing for HTTP_POST_VARS drops duplicates

2001-04-25 Thread cynic
ID: 10502 Updated by: cynic Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Feature/Change Request PHP Version: 4.0.4pl1 Assigned To: Comments: open again, this won't work for POSTs... thx to Zak. Previous Comments: