[PHP-DEV] Re: Proposal: interface improvement for exec(), system(), and passthru().

2001-11-02 Thread jimw
Arcady Genkin <[EMAIL PROTECTED]> wrote: > o If the first argument is an array, we assume that: > - the first element of the array is the command to be executed, > - and all other elements are command-line parameters > - if PHP is in safe mode, quote each parameter separately wouldn't it be be

Re: [PHP-DEV] Proposal: interface improvement for exec(), system(), and passthru().

2001-11-02 Thread Stig S. Bakken
No compatibility issues but fixing two annoying safe-mode limitations? Go ahead :-) - Stig Arcady Genkin wrote: > > This refers to bug 18843 ( http://bugs.php.net/bug.php?id=13843 ) > > I'm willing to give a shot at coding the fix for this bug, provided > that the proposed resolutions (below

[PHP-DEV] Bug #13900 Updated: date(I) does not correctly identify daylight saving time

2001-11-02 Thread bmplummer1
ID: 13900 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related Operating System: Windows NT/XP PHP Version: 4.0.6 New Comment: I downloaded 4.06 again and installed it manually. I have a feeling that my php.ini is somehow different than the

[PHP-DEV] Bug #13893 Updated: win32_apache_mod_ssl + php = crash

2001-11-02 Thread jyrgen
ID: 13893 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.0.8 New Comment: >Not a bug. You need to compile PHP with the apache you're >running it with as the distribution module is not co

[PHP-DEV] Bug #13893 Updated: win32_apache_mod_ssl + php = crash

2001-11-02 Thread sniper
ID: 13893 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.0.8 New Comment: Not a bug. You need to compile PHP with the apache you're running it with as the distribution module is not compi

[PHP-DEV] Bug #13900 Updated: date(I) does not correctly identify daylight saving time

2001-11-02 Thread bmplummer1
ID: 13900 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related Operating System: Windows NT/XP PHP Version: 4.0.6 New Comment: Tried it from the command line and got all zeros. Previous Comments: --

Re: [PHP-DEV] Strange crash

2001-11-02 Thread Markus Fischer
Sterling was a bad boy it seems ;-) r1.76->1.77 broke when he changed zval_dtor() to zval_ptr_dtor(). - Markus -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

[PHP-DEV] Bug #13641 Updated: Erroneous code makes PHP.EXE crash

2001-11-02 Thread jmoore
ID: 13641 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old Status: Critical Status: Open Bug Type: Reproducible crash Operating System: Win32 (W2K) PHP Version: 4.0.6 New Comment: not critical Previous Comments: [2001

[PHP-DEV] Strange crash

2001-11-02 Thread Tomas V.V.Cox
This script crashes for me, but it work if comment out the line 17 (the var_dump). Tomas V.V.Cox fp = $fp; } function prepare_connection($nntpserver, $port = 119, $newsgroup) { $err = $this->connect($nntpserver, $port); //var_dump($err); $this->command("GROU

[PHP-DEV] Proposal: interface improvement for exec(), system(), and passthru().

2001-11-02 Thread Arcady Genkin
This refers to bug 18843 ( http://bugs.php.net/bug.php?id=13843 ) I'm willing to give a shot at coding the fix for this bug, provided that the proposed resolutions (below) are approved by somebody with cvs commit powers. Otherwise, let's discuss how to fix it some other way. Right now magic beh

Re: [PHP-DEV] Benjamin Kromann

2001-11-02 Thread Stig S. Bakken
Congratulations, Frank! Enjoy your sleep, and if you need someone to talk baby-talk with, I'm here. ;-) - Stig "Thies C. Arntzen" wrote: > > On Thu, Nov 01, 2001 at 02:56:57AM -0800, Frank M. Kromann wrote: > > Hi, > > > > It is getting late now in CA, but I have to tell you all about > > Ben

[PHP-DEV] Bug #13913: Empty strings on "nlist" and "rawlist"

2001-11-02 Thread phpbug
From: [EMAIL PROTECTED] Operating system: Windows XP final PHP version: 4.0.6 PHP Bug Type: FTP related Bug description: Empty strings on "nlist" and "rawlist" Thank you for hearing me :) The problem is that whatever i try there is no data in any nlist or rawlist command

[PHP-DEV] Bug #13912 Updated: Array index references inside double quotes cause parse errors

2001-11-02 Thread cnewbill
ID: 13912 Updated by: cnewbill Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Arrays related Operating System: Redhat Linux - Kernel 2.4.12 PHP Version: 4.0.6 New Comment: RTM http://www.php.net/manual/en/migration4.strings.php -Chris Previous Comments: -

[PHP-DEV] Bug #13912: Array index references inside double quotes cause parse errors

2001-11-02 Thread dshearin
From: [EMAIL PROTECTED] Operating system: Redhat Linux - Kernel 2.4.12 PHP version: 4.0.6 PHP Bug Type: Arrays related Bug description: Array index references inside double quotes cause parse errors A parse error results when an increment or decrement operator is used in an

[PHP-DEV] Bug #13910 Updated: PHP hangs up while loading incorrect jpg file

2001-11-02 Thread amuelle1
ID: 13910 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: *Graphics related Operating System: Linux, Win32 PHP Version: 4.0.6 New Comment: A broken Image (manualy broken but very "good") can be found at http://www.universalware.de/x.j

[PHP-DEV] Bug #13910 Updated: PHP hangs up while loading incorrect jpg file

2001-11-02 Thread derick
ID: 13910 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Graphics related Operating System: Linux, Win32 PHP Version: 4.0.6 New Comment: Post a like to that broken picture please Derick Previous Comments:

[PHP-DEV] Bug #13910: PHP hangs up while loading incorrect jpg file

2001-11-02 Thread amuelle1
From: [EMAIL PROTECTED] Operating system: Linux, Win32 PHP version: 4.0.6 PHP Bug Type: *Graphics related Bug description: PHP hangs up while loading incorrect jpg file If I load an incorrect jpe File with ImageCreateFromJPEG that PHP often hags up. Sometimes until I kill it

[PHP-DEV] Bug #13866 Updated: strtok() parses erroneously empty substrings - PHP 4.0.7RC2

2001-11-02 Thread jmoore
ID: 13866 Updated by: jmoore Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Strings related Operating System: Linux PHP Version: 4.0.6 New Comment: fixed in CVS Previous Comments: [2001-10-29 17:3

[PHP-DEV] Bug #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist

2001-11-02 Thread cnewbill
ID: 13909 Updated by: cnewbill Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: *Configuration Issues Operating System: Linux RH 7 PHP Version: 4.0.6 New Comment: I am pretty sure Apache 1.3.x only allows one processor for an extension. There are convuleted (VERY) ways to do this, but wh

[PHP-DEV] Bug #13909 Updated: Parsed .php as .html error when parsed .shtml as .html exist

2001-11-02 Thread sander
ID: 13909 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Configuration Issues Operating System: Linux RH 7 PHP Version: 4.0.6 New Comment: AFAIK, you can't with 1.3.x. You can try 2.0, which is still in beta (or alpha?). Previous Comments: --

Re: [PHP-DEV] Stack overflow in ext/pcre

2001-11-02 Thread Sebastian Bergmann
Andrei Zmievski wrote: > It really depends both on the string *and* the pattern used. Short of > doing setjmp/longjmp, I don't see a good way of dealing with it, and > even that is evil. Additional note: PHPDoc did not crash, when I used it on the phpOpenTracker source tree, which was about a

[PHP-DEV] Bug #13909: Parsed .php as .html error when parsed .shtml as .html exist

2001-11-02 Thread earnpin
From: [EMAIL PROTECTED] Operating system: Linux RH 7 PHP version: 4.0.6 PHP Bug Type: *Configuration Issues Bug description: Parsed .php as .html error when parsed .shtml as .html exist When both server-parse exist in httpd.conf, one will not work. How to make Apache to pars

[PHP-DEV] Bug #13908: address parameter truncated at char 1970

2001-11-02 Thread christophe . green
From: [EMAIL PROTECTED] Operating system: Solaris PHP version: 4.0.6 PHP Bug Type: Mail related Bug description: address parameter truncated at char 1970 I've problems in using the mail() function on Solaris 2.6 with a huge number of recipients My mail is send correctly to

Re: [PHP-DEV] Stack overflow in ext/pcre

2001-11-02 Thread Andrei Zmievski
On Fri, 02 Nov 2001, Sebastian Bergmann wrote: > Andrei Zmievski wrote: > > No. This is a limitation of the PCRE library, which manifests itself > > when you work with very long strings and fairly complex patterns. > > Can't we catch this in our extension? Crashes are not nice :) It really dep

Re: [PHP-DEV] Stack overflow in ext/pcre

2001-11-02 Thread Sebastian Bergmann
Andrei Zmievski wrote: > No. This is a limitation of the PCRE library, which manifests itself > when you work with very long strings and fairly complex patterns. Can't we catch this in our extension? Crashes are not nice :) -- Sebastian Bergmann http://sebastian-bergmann.de/

RE: [PHP-DEV] ftp_connect()???

2001-11-02 Thread Chris Newbill
No. He means when compiling PHP you must run 'configure'. [me@somehost /php-source]# ./configure --enable-ftp -Chris -Original Message- From: JIM [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 2:02 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] ftp_connect()??? are you

Re: [PHP-DEV] cvsclean script

2001-11-02 Thread Jani Taskinen
This was what I was thinking too. I have lot of stuff which is not (yet) added to CVS. Wouldn't this script delete all those too? The current cvsclean ONLY deletes the files which are not in CVS and are mentioned in .cvsignore. Much safer that way. If there are files that are not mentioned in .c

Re: [PHP-DEV] Extension checkins?

2001-11-02 Thread Jonathan Gillette
On Thu, 1 Nov 2001 18:25:52 -0600, [EMAIL PROTECTED] (Matt McClanahan) wrote: > Mentioning what it does may be a good start.. I have been in communication with the developer for DbTcp [http://www.fastflow.it/dbftp/], a proxy server for Windows ODBC connections. I rely on PHP for production wor

Re: [PHP-DEV] cvsclean script

2001-11-02 Thread Andrei Zmievski
On Fri, 02 Nov 2001, Markus Fischer wrote: > I'd expect running cvsclean cleans up the source tree in a > way it *works like* a fresh cleanout. But I don't want my private > files floating in the tree (like some private testing c sources, > some diffs and what else) to be deleted when they don

Re: [PHP-DEV] cvsclean script

2001-11-02 Thread Markus Fischer
On Fri, Nov 02, 2001 at 03:15:09PM +0100, Hartmut Holzgraefe wrote : > i'd expect running cvsclean gives me exactly the set of files > i'd get from a fresh checkout and nothing more, and that definetly > isn't the case with the current cvsclean while it is with my > alternative I'd expect ru

Re: [PHP-DEV] Stack overflow in ext/pcre

2001-11-02 Thread Andrei Zmievski
On Fri, 02 Nov 2001, Sebastian Bergmann wrote: > Alexander Merz wrote: > > set mem_limit to high value ( >32MB), running PHPDoc over PEAR is a > > hardcore test... > > Nevertheless, I would expect a PHP warning instead of a crash, no? No. This is a limitation of the PCRE library, which manife

Re: [PHP-DEV] Stack overflow in ext/pcre

2001-11-02 Thread Sebastian Bergmann
Alexander Merz wrote: > set mem_limit to high value ( >32MB), running PHPDoc over PEAR is a > hardcore test... Nevertheless, I would expect a PHP warning instead of a crash, no? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help yo

Re: [PHP-DEV] Benjamin Kromann

2001-11-02 Thread Thies C. Arntzen
On Thu, Nov 01, 2001 at 02:56:57AM -0800, Frank M. Kromann wrote: > Hi, > > It is getting late now in CA, but I have to tell you all about > Benjamin Kromann, our new son :-) > > He was born last night at 11:23pm and he is a healthy boy 50 cm > long and he weighs 3550 g. Mis mom is doing very we

Re: [PHP-DEV] cvsclean script

2001-11-02 Thread Hartmut Holzgraefe
Jani Taskinen wrote: > What problems were those? Which files were leftovers which > didn't get deleted? can't reproduce now :( (didn't take a snapshot copy before trying out) > Just add them to .cvsignore ? .cvsignore is a negative list, cvsclean should work on a positive list aka. CVS/Ent

Re: [PHP-DEV] cvsclean script

2001-11-02 Thread Jani Taskinen
What problems were those? Which files were leftovers which didn't get deleted? Just add them to .cvsignore ? I haven't noticed any problems.. :) (if it ain't broken, don't fix it :) --Jani On Fri, 2 Nov 2001, Hartmut Holzgraefe wrote: > >i had a closer look at the php4/cvsclean script yesterd

[PHP-DEV] cvsclean script

2001-11-02 Thread Hartmut Holzgraefe
i had a closer look at the php4/cvsclean script yesterday as i was experiencing some problems when running configure that were clearly related to left-over files from previous runs while i thought cvsclean would remove every file not under CVS control i found in php4/build/build.mk that it only

[PHP-DEV] Postgres Socket Dir Option?

2001-11-02 Thread Holger Schopohl
Hi, i miss an option (php.ini or compile) to set the directory of postgres socket, because the default dir /tmp is not in all situations secure. maybe pgsql.socket_dir ... Regards, Holger -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [PHP-DEV] Stack overflow in ext/pcre

2001-11-02 Thread Alexander Merz
> When running pear/PHPDoc php.exe (built from current CVS) crashes on > Win32. set mem_limit to high value ( >32MB), running PHPDoc over PEAR is a hardcore test... -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP-DEV] Bug #13907: Oracle Fetch row by row number

2001-11-02 Thread jh
From: [EMAIL PROTECTED] Operating system: all PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Oracle Fetch row by row number Currently there's no way of fetching a row by row number. OCIFetchStatement() fetches all rows returned by a query. OCIFet

[PHP-DEV] Bug #13906: Oracle OCI Non-Blocking mode

2001-11-02 Thread jh
From: [EMAIL PROTECTED] Operating system: all PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: Oracle OCI Non-Blocking mode The Oracle OCI Module doesn't support non-blocking mode yet. This makes sense e.g. for cancelling SQL queries that run too lon

Re: [PHP-DEV] ftp_connect()???

2001-11-02 Thread JIM
are you talking the php.ini? i have no idea on this... "Matthias Blaser" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > On Wednesday 31 October 2001 22:52, JIM wrote: > > i was developing in redhat 7.2. with php/4.0.4pl1. iwas able to use > > ftp_connect(). > > but, in a freebsd with ph