[PHP-DEV] Bug #12033 Updated: file_exists doesn't work properly with variables

2001-07-10 Thread zak
ID: 12033 Updated by: zak Reported By: [EMAIL PROTECTED] Old Summary: file_exists doesn't work properly with variables Status: Open Bug Type: Any Operating System: Win 95 PHP Version: 4.0.5 New Comment: I cannot reproduce this under Windows 2000 with PHP 4.0.6 Do you get the same error if you

[PHP-DEV] Bug #12029 Updated: "--with-apxs" can cause the error "MySQL: Unable to save result set in"

2001-07-10 Thread derick
ID: 12029 Updated by: derick Reported By: [EMAIL PROTECTED] Old Summary: "--with-apxs" can cause the error "MySQL: Unable to save result set in" Old Status: Status: Feedback Bug Type: MySQL related Operating System: Linux PHP Version: 4.0.6 New Comment: What is the configure line for PHP that us

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread Stig Venaas
On Tue, Jul 10, 2001 at 08:04:42PM +0200, Jeroen van Wolffelaar wrote: > I've said it before, but I *really* am convinced now, that we should: > > - At least allow $str{index} (while _deprecating_ the array $str[ ] indices) > - _possibly_ also allowing $str{start..end} > - and if the above is all

[PHP-DEV] Bug #12003 Updated: failed to locate host machine

2001-07-10 Thread jan . suchanek
ID: 12003 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: InterBase related Operating System: Linux Red Hat 7.1 (2.4.2) PHP Version: 4.0.6 New Comment: Sure. This problem is only on the server, where interbase is running. Previous Comments: -

[PHP-DEV] Bug #12034: A type-error and a coding-error.

2001-07-10 Thread jungle
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Compile Warning Bug description: A type-error and a coding-error. 1. "php_ticks.c", line 55.53: 1506-280 (W) Function argument assignment between types "void*" and "void(*)(int)" is not allowed. m

Re: [PHP-DEV] ext/dom/php_domxml.c patch

2001-07-10 Thread Paul Marquis
On Wednesday 11 July 2001 00:54, Andi Gutmans wrote: > At 07:00 PM 7/10/2001 -0400, Paul Marquis wrote: > >Attached is a patch to ext/dom/php_domxml.c that adds the ability > > to set the context node when running xpath_eval(). xpath_eval() > > (and xpath_eval_expression()) can now accept and opt

[PHP-DEV] Bug #12033: file_exists doesn't work properly with variables

2001-07-10 Thread ddruff
From: [EMAIL PROTECTED] Operating system: Win 95 PHP version: 4.0.5 PHP Bug Type: Any Bug description: file_exists doesn't work properly with variables The following won't work in Win95: $path="c:/test.bat"; if(file_exists($path)) {print "file $path exists"} This will

Re: [PHP-DEV] ext/dom/php_domxml.c patch

2001-07-10 Thread Andi Gutmans
At 07:00 PM 7/10/2001 -0400, Paul Marquis wrote: >Attached is a patch to ext/dom/php_domxml.c that adds the ability to >set the context node when running xpath_eval(). xpath_eval() (and >xpath_eval_expression()) can now accept and optional second parameter >that is the context node. If no argume

[PHP-DEV] Re: php4 /main fopen_wrappers.c

2001-07-10 Thread Andi Gutmans
At 12:13 AM 7/11/2001 +0200, Jeroen van Wolffelaar wrote: > > - Right now this also effects things like opening php.ini. It'll now >always > > check in the current working directory for php.ini. I think this >doesn't > > screw up todays behavior. > >Isn't this a huge security risk? When

Re: [PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Andi Gutmans
At 04:11 PM 7/10/2001 -0700, Vlad Krupin wrote: >Andi, can you tell me what would happen if I also have another c.php in >the same directory as a.php? which one of the two c.php's will get included? > >I am not complaining about the solution, I am just rying to see if it will >break my code...

[PHP-DEV] Bug #12032: PHP dumps core when using a 3x derived class from a series of included files

2001-07-10 Thread patrick
From: [EMAIL PROTECTED] Operating system: Debian/GNULinux unstable PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: PHP dumps core when using a 3x derived class from a series of included files see http://patrick.jordan-smith.org/junk/example.tar.gz for

[PHP-DEV] Bug #12031: Problems running IMAP and MYSLQ

2001-07-10 Thread simon
From: [EMAIL PROTECTED] Operating system: Linux RedHat 7.1 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: Problems running IMAP and MYSLQ '; openIMAP('INBOX'); openSQL(); print nbTel() . ''; print nbEmail() . ''; mysql_close; imap_close($mbox);

[PHP-DEV] Bug #12030 Updated: function pass by reference isn't consistent.

2001-07-10 Thread wboring
ID: 12030 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Summary: function pass by reference isn't consistent. Status: Open Bug Type: Variables related Operating System: Linux redhat 7.1 PHP Version: 4.0.4pl1 New Comment: forgot to add the output of the script. object(fo

[PHP-DEV] Bug #12029 Updated: "--with-apxs" can cause the error "MySQL: Unable to save result set in"

2001-07-10 Thread root
ID: 12029 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Summary: "--with-apxs" can cause the error "MySQL: Unable to save result set in" Status: Open Bug Type: MySQL related Operating System: Linux PHP Version: 4.0.6 New Comment: My apache is version 1.3.14 mod_log_mysql

[PHP-DEV] Bug #12030: function pass by reference isn't consistent.

2001-07-10 Thread wboring
From: [EMAIL PROTECTED] Operating system: Linux redhat 7.1 PHP version: 4.0.4pl1 PHP Bug Type: Variables related Bug description: function pass by reference isn't consistent. "; var_dump( $var ); echo ""; } //our test class. //nothing but a container to hold

[PHP-DEV] Bug #12029: "--with-apxs" can cause the error "MySQL: Unable to save result set in"

2001-07-10 Thread root
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: "--with-apxs" can cause the error "MySQL: Unable to save result set in" I had read #12009 and #11765 I found that the same error may be generated by the configur

[PHP-DEV] Bug #11993 Updated: mysql_close closes incorrect db handler

2001-07-10 Thread atiware
ID: 11993 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Debian 2.19 Old PHP Version: 4.0.4pl1 PHP Version: 4.0.6 New Comment: i have tried out with the following configurations: server1: php-4.0.6/mysql.3.23.32/apache-1.3

RE: [PHP-DEV] Bug #11990 Updated: defined constants getting corrupted

2001-07-10 Thread Brian Lalor
Title: RE: [PHP-DEV] Bug #11990 Updated: defined constants getting corrupted I'm still working trying to come up with a way to make this bug reproducible on command.  So far, it fails sometimes 10 times out of 10, and then maybe 1 out of 1000.  This is *very* frustrating. Is there any way I c

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread rasmus
> Ok you guys lost me here. If you could tell me what > you would like me to do then I could go ahead with it. Hang on for a bit. You will likely end up being a guinea pig for our new PEAR-based C-extension mechanism. I need to write up a howto on it. Just busy with some other code today. Giv

Re: [PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Vlad Krupin
Andi, can you tell me what would happen if I also have another c.php in the same directory as a.php? which one of the two c.php's will get included? I am not complaining about the solution, I am just rying to see if it will break my code... thanks, Vlad Andi Gutmans wrote: >Hi guys, > >Att

[PHP-DEV] ext/dom/php_domxml.c patch

2001-07-10 Thread Paul Marquis
Attached is a patch to ext/dom/php_domxml.c that adds the ability to set the context node when running xpath_eval(). xpath_eval() (and xpath_eval_expression()) can now accept and optional second parameter that is the context node. If no argument is specified, it works as before. This patch

[PHP-DEV] Bug #12028: array_sum changed

2001-07-10 Thread lee
From: [EMAIL PROTECTED] Operating system: openbsd/linux PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: array_sum changed I would like array_sum() to be able to handel multi-dimentional arrays. this doesnt work. ive wrote a simple function to

[PHP-DEV] Bug #7888 Updated: decrement syntax should be -- instead of -

2001-07-10 Thread jeroen
ID: 7888 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Assigned Bug Type: Documentation problem Operating System: NT & win98 using apache (phptria PHP Version: 4.0.2 Assigned To: hholzgra New Comment: Resurfacing... I also once saw something like <<< being rendered strangely in PDF.

[PHP-DEV] Re: php4 /main fopen_wrappers.c

2001-07-10 Thread Jeroen van Wolffelaar
> - Right now this also effects things like opening php.ini. It'll now always > check in the current working directory for php.ini. I think this doesn't > screw up todays behavior. Isn't this a huge security risk? When there is something wrong so that php.ini can't get read where it sho

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Anil Madhavapeddy
[EMAIL PROTECTED] wrote: > > Ok. I need to sit down and document how to add a > C extension to PEAR. Has anyone worked on enabling multiple SAPI modules in one compile yet? Stig committed some stuff a while back but reverted it. If that's done, and we can generate a CGI version of PHP at the sa

[PHP-DEV] Bug #11990 Updated: defined constants getting corrupted

2001-07-10 Thread blalor
ID: 11990 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Status: Feedback Bug Type: Scripting Engine problem Operating System: RedHat Linux 6.2 PHP Version: 4.0.5 New Comment: Well, I haven't succeeded yet in reproducing the corrupted define, but I have managed to

[PHP-DEV] Bug #11990 Updated: defined constants getting corrupted

2001-07-10 Thread blalor
ID: 11990 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Scripting Engine problem Operating System: RedHat Linux 6.2 PHP Version: 4.0.5 New Comment: Configure options: ./configure --prefix=/usr --with-config-file-path=/etc --with-apxs=/usr/sbin/apx

Re: [PHP-DEV] Is there any value in having functions defined which do nothing.

2001-07-10 Thread jimw
from a support perspective, it might be nice to have a quasi-implemented type of function that returns false for function_exists but if the function is actually called, it would return an error like imagecopyresampled() does (that is, a more specific error than "function not supported"). that woul

[PHP-DEV] Bug #12027 Updated: ODBC32.DLL

2001-07-10 Thread jeroen
ID: 12027 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Dynamic loading Operating System: win98 PHP Version: 4.0.6 New Comment: For help on installing etc, go to http://www.php.net/support.php, and check out the mailing lists / news groups. Previous

[PHP-DEV] Bug #4294 Updated: return in script called from php.ini stops engine

2001-07-10 Thread jeroen
ID: 4294 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Documentation problem Operating System: AIX 4.3 / Solaris 2.6 PHP Version: 4.0 Release Candidate 1 New Comment: This is a side-effect of the way zend handles things: almost everything is treated as a kind of fu

[PHP-DEV] Bug #12027: ODBC32.DLL

2001-07-10 Thread said03
From: [EMAIL PROTECTED] Operating system: win98 PHP version: 4.0.6 PHP Bug Type: Dynamic loading Bug description: ODBC32.DLL Hi, I setted Apache1.3.20 and PHP4.0.6 as described in www.phpfrance.com. Apache works but when I use php files I get an errir page and this messen

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Andrei Zmievski
On Tue, 10 Jul 2001, brad lafountain wrote: > Hello, > Ok you guys lost me here. If you could tell me what > you would like me to do then I could go ahead with it. > I did create a sourceforge account and put a winbinary > release on it. Im still learning about the .m4 files > so i don't have a un

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread brad lafountain
Hello, Ok you guys lost me here. If you could tell me what you would like me to do then I could go ahead with it. I did create a sourceforge account and put a winbinary release on it. Im still learning about the .m4 files so i don't have a unix release yet. It does compile and run on linux I just

[PHP-DEV] Bug #12026 Updated: mail() is not supported in this PHP build

2001-07-10 Thread jeroen
ID: 12026 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Mail related Operating System: PHP Version: 4.0.6 New Comment: Duplicate of 12024. Submitted twice. Previous Comments: [

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Stig Bakken
I would really appreciate if you could do that, Rasmus. you can use pear/PEAR as a simple template (see the INSTALL file). shortcomings of pearize and the current dtd should be adressed to pear-dev, and please advise that the dtd is still subject to change. I'll be able to type with both hands

Re: [PHP-DEV] zend_hash patch

2001-07-10 Thread Joey Smith
Andi: I really want to give it a shot, but my compile box is isolated from the rest of the world until my ISP gets their heads back on straight. On Tue, 10 Jul 2001, Andi Gutmans wrote the following to [EMAIL PROTECTED] : > Hey, > > Has anyone had a chance to check the zend_hash patch I

[PHP-DEV] Bug #12026: mail() is not supported in this PHP build

2001-07-10 Thread blancast
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Mail related Bug description: mail() is not supported in this PHP build Error message: "Warning: mail() is not supported in this PHP build" This was a bug in 4.0.5 (Bug id #11184). I tried that

Re: [PHP-DEV] Is there any value in having functions defined whichdo nothing.

2001-07-10 Thread Stig Bakken
yes it would be better to not define it. that has been "the way" in php 3 and 4. only back in v2 we had those "blah is not enabled" messages. - Stig On Tue, 10 Jul 2001, Jeremy Bettis wrote: > Why is the habit of PHP modules to define functions that might or might not > work depending on lib

[PHP-DEV] Bug #11945 Updated: ignore

2001-07-10 Thread goba
ID: 11945 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Unknown/Other Function Operating System: ugly bug PHP Version: 4.0.6 New Comment: just testing Previous Comments: [2001-07

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Andrei Zmievski
On Tue, 10 Jul 2001, [EMAIL PROTECTED] wrote: > Ok. I need to sit down and document how to add a C extension to PEAR. > This is becoming more and more pressing as we have a lot of cool > extensions that don't belong in the main php tree sitting around waiting > for a home. Right. And didn't Avi

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread rasmus
> On Tue, 10 Jul 2001, [EMAIL PROTECTED] wrote: > > Ok, so what is your suggestion? A separate cvs tree for php-opengl? Or > > how do you want to handle it? It seems to me it is very related to > > php-gtk if not technically, then at least functionally. > > It's just an extension, isn't it? We

Re: [PHP-DEV] Is there any value in having functions defined whichdo nothing.

2001-07-10 Thread Joao Prado Maia
On Tue, 10 Jul 2001, Jeremy Bettis wrote: > Why is the habit of PHP modules to define functions that might or might not > work depending on library dependancies. > > For example, ImageCopyResampled gives this error if libgd < 2.0: > "ImageCopyResampled required libgd 2.0" > > But that makes this

[PHP-DEV] Bug #12011 Updated: Safe_mode poor documentation

2001-07-10 Thread jeroen
ID: 12011 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: Documentation problem Operating System: PHP Version: 4.0.6 Old Assigned To: Assigned To: jeroen New Comment: RTFM :) Well, you'll need to wait for www.php.net to get updated, but when the

Re: [PHP-DEV] zend_hash patch

2001-07-10 Thread Andi Gutmans
At 10:07 PM 7/10/2001 +0200, Thies C. Arntzen wrote: >On Tue, Jul 10, 2001 at 08:54:13PM +0200, Thies C. Arntzen wrote: > > On Tue, Jul 10, 2001 at 07:43:12PM +0300, Andi Gutmans wrote: > > > Hey, > > > > > > Has anyone had a chance to check the zend_hash patch I wrote about > > > yesterday? > > >

[PHP-DEV] Bug #12025: posix_getgrnam() failed

2001-07-10 Thread abo
From: [EMAIL PROTECTED] Operating system: Debian Gnu/Linux Unstable PHP version: 4.0.6 PHP Bug Type: POSIX related Bug description: posix_getgrnam() failed The posix_getgrnam()-function fails with 'No such file or directory'. My script worked with 4.0.5. It's a sym

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Andrei Zmievski
On Tue, 10 Jul 2001, [EMAIL PROTECTED] wrote: > Ok, so what is your suggestion? A separate cvs tree for php-opengl? Or > how do you want to handle it? It seems to me it is very related to > php-gtk if not technically, then at least functionally. It's just an extension, isn't it? We could eithe

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread rasmus
> On Tue, 10 Jul 2001, [EMAIL PROTECTED] wrote: > > Andrei, so are you coordinating with Brad on how to integrate his > > extensions? I assume you will create his php-gtk cvs account since I > > assume this should go hand in hand with php-gtk? > > Not really. It's not dependent on PHP-GTK since i

[PHP-DEV] Bug #12024: mail() is not supported in this PHP build

2001-07-10 Thread blancast
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Mail related Bug description: mail() is not supported in this PHP build Error message: "Warning: mail() is not supported in this PHP build" This was a bug in 4.0.5 (Bug id #11184). I tried that

Re: [PHP-DEV] zend_hash patch

2001-07-10 Thread Thies C. Arntzen
On Tue, Jul 10, 2001 at 08:54:13PM +0200, Thies C. Arntzen wrote: > On Tue, Jul 10, 2001 at 07:43:12PM +0300, Andi Gutmans wrote: > > Hey, > > > > Has anyone had a chance to check the zend_hash patch I wrote about > > yesterday? > > seems to work for me. > tc just commit it to HEAD

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Andrei Zmievski
On Tue, 10 Jul 2001, [EMAIL PROTECTED] wrote: > Andrei, so are you coordinating with Brad on how to integrate his > extensions? I assume you will create his php-gtk cvs account since I > assume this should go hand in hand with php-gtk? Not really. It's not dependent on PHP-GTK since it uses Glut

[PHP-DEV] Fw: using hebrevc with hebrew & english

2001-07-10 Thread Zak Greant
Hi Zeev, I have been giving this gentleman a hand with hebrevc - however, I have no idea how the function is supposed to behave. :) I can reproduce the behavior that he gets, but (not knowing *anything* about Hebrew) I do not know if this is the intended behavior. Can you shed any light on the

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread rasmus
Andrei, so are you coordinating with Brad on how to integrate his extensions? I assume you will create his php-gtk cvs account since I assume this should go hand in hand with php-gtk? -Rasmus On Tue, 10 Jul 2001, Andrei Zmievski wrote: > Hey, you got there first. I was planning an OpenGL bindi

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Rasmus Lerdorf
> > Full name: Raphael Vallazza > > Email: [EMAIL PROTECTED] > > ID:raphael > > Purpose: libxslt backend for xslt module under (/php4/ext/xslt) > > > > sterling hughes asked me to request a cvs account > > Can someone please add him? Done -- PHP Development Mailing List

[PHP-DEV] ODBC and include() sort of solved (Bug #11969)... (fwd)

2001-07-10 Thread Jani Taskinen
This was sent to me privately. The problem looks very odd. Unfortunately I don't have time to look into this any further right now. I remember similar thing happening with some pages being reload twice..some session thingie, that was found out NOT to be bug after all. I think it was Zeev who clo

[PHP-DEV] Bug #12008 Updated: mysql_fetch_* inconsistent with MySQL C API

2001-07-10 Thread jeroen
ID: 12008 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: RedHat 6.2 PHP Version: 4.0.6 New Comment: About not using NULL values: It is not efficient to use PHP, use C, or even better: assembler if you want the most efficient dy

[PHP-DEV] CVS Account Request

2001-07-10 Thread CVS Account Request
Full name: Alan Brwon Email: [EMAIL PROTECTED] ID:abrown Purpose: Access to ext/com to help maintain COM source and documention. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Colin Viebrock
> Full name: Chris Roman > Email: [EMAIL PROTECTED] > ID:rmn96 > Purpose: To report my bug Try http://bugs.php.net/ You don't need a cvs account to report bugs. - Colin -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP-DEV] CVS Account Request

2001-07-10 Thread CVS Account Request
Full name: Chris Roman Email: [EMAIL PROTECTED] ID:rmn96 Purpose: To report my bug -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL P

[PHP-DEV] Is there any value in having functions defined which do nothing.

2001-07-10 Thread Jeremy Bettis
Why is the habit of PHP modules to define functions that might or might not work depending on library dependancies. For example, ImageCopyResampled gives this error if libgd < 2.0: "ImageCopyResampled required libgd 2.0" But that makes this code useless: if (function_exists('ImageCopyResampled'

[PHP-DEV] Bug #12023 Updated: mysql_result moves the data pointer forward one row.

2001-07-10 Thread derick
ID: 12023 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Old Bug Type: MySQL related Bug Type: Feature/Change Request Operating System: PHP Version: 4.0.6 New Comment: Indeed no bug, but a feature/change request Derick Previous Comments:

[PHP-DEV] Bug #12023 Updated: mysql_result moves the data pointer forward one row.

2001-07-10 Thread brianlmoon
ID: 12023 Updated by: brianlmoon Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: MySQL related Operating System: PHP Version: 4.0.6 New Comment: not a bug. Previous Comments: [2001-07-10 14:45:44]

Re: [PHP-DEV] zend_hash patch

2001-07-10 Thread Thies C. Arntzen
On Tue, Jul 10, 2001 at 07:43:12PM +0300, Andi Gutmans wrote: > Hey, > > Has anyone had a chance to check the zend_hash patch I wrote about > yesterday? seems to work for me. tc -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

[PHP-DEV] Bug #12023: mysql_result moves the data pointer forward one row.

2001-07-10 Thread john . hamill
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: mysql_result moves the data pointer forward one row. mysql_result moves the data pointer forward one row. i would expect mysql_fetch_row (or similar) to move the row po

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread Jason Greene
I had suggested the start end construct, but was rejected by Zeev due to performance reasons, and that nobody in the history of php has ever need this : ) -Jason - Original Message - From: "Jeroen van Wolffelaar" <[EMAIL PROTECTED]> To: "Derick Rethans" <[EMAIL PROTECTED]>; "André Lang

[PHP-DEV] Bug #12012 Updated: dec2bin and bin2dec

2001-07-10 Thread jeroen
ID: 12012 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.0.6 New Comment: Hm, I now see that bindec('10101010001') is the syntax, and not a few bytes or something. That is not (yet?) implemen

[PHP-DEV] Bug #12022: limitations of php://stdout

2001-07-10 Thread noisefactor
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.6 PHP Bug Type: Output Control Bug description: limitations of php://stdout With perl cgi I can create a GZIP output stream to a Java applet as follows: print("Content-type: application/x-gzip\n\n"); my $g

[PHP-DEV] Bug #12012 Updated: dec2bin and bin2dec

2001-07-10 Thread jeroen
ID: 12012 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.0.6 New Comment: Take a look at http://www.php.net/bindec and http://www.php.net/decbin They already exist... Previous Commen

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread Jeroen van Wolffelaar
I've said it before, but I *really* am convinced now, that we should: - At least allow $str{index} (while _deprecating_ the array $str[ ] indices) - _possibly_ also allowing $str{start..end} - and if the above is allowed, then I think you should also allow $str{..end} and $str{start..} But *noth

[PHP-DEV] Bug #10639 Updated: include() & require()

2001-07-10 Thread jeroen
ID: 10639 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Scripting Engine problem Operating System: AIX 4.3.3 PHP Version: 4.0.4pl1 New Comment: Stephan emailed me: > The problem is solved in Version 4.0.5 compiled with GCC. So closing Previous Co

Re: [PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Andi Gutmans
You can nuke the fprintf() in the patch :) Andi At 08:24 PM 7/10/2001 +0300, Andi Gutmans wrote: >Hi guys, > >Attached is a patch which I worked up quickly (could probably use some >improving) which should solve the problem with includes of relative >includes :) >Simpler said: > >a.php >- >

[PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Andi Gutmans
Hi guys, Attached is a patch which I worked up quickly (could probably use some improving) which should solve the problem with includes of relative includes :) Simpler said: a.php - b.php - c.php - This example should work when c.php is in the same directory as b.php and PHP is

Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread André Langhorst
> I think we should not allow this, use substr() if you need more > functionality. Stick to very simple things with the {} stuff. ah hell, I think Andi not even thought at using substr() within {}. then my argumentation is something like void ;) these examples were meant perlish and will do harm

Re: [PHP-DEV] register_tick_function problems..

2001-07-10 Thread Andrei Zmievski
Yes, this is indeed a problem that seems to be happening only in Web environement (at least under Apache). I lack tools to debut it properly right now, but I can take a look later. On Tue, 10 Jul 2001, [EMAIL PROTECTED] wrote: > On Tue, 10 Jul 2001, Andrei Zmievski wrote: > > > On Tue, 10 Jul 20

[PHP-DEV] ChangeLog and NEWS updates

2001-07-10 Thread Andrei Zmievski
Pop open a bottle of your favorite. The ChangeLog and NEWS updates are back. -Andrei If you find a job that you love, you'll never work another day in your life. - Mark Jackson -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECT

[PHP-DEV] Bug #12008 Updated: mysql_fetch_* inconsistent with MySQL C API

2001-07-10 Thread brianlmoon
ID: 12008 Updated by: brianlmoon Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: RedHat 6.2 PHP Version: 4.0.6 New Comment: In PHP setting a var to NULL in fact destroys that var so it is not currently possible to have an elelment

Re: [PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread Derick Rethans
On Tue, 10 Jul 2001, André Langhorst wrote: > nah, you know waiting turns developers into killer-machines ;) > > something more to think about... > > $foo{${a$i}} > $foo{$i++..$i} > $foo{($moo ? $zoo:$boo)..$roo} > $foo{super_function($moo)..substr($doh::zoo)-4} > > I state that is better to simp

[PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread André Langhorst
> I still think that people who need more complicated stuff can use > substr(). But I know many don't agree with me so I prefer to wait a > while with the discussion until we start advancing a bit in the Engine 2 nah, you know waiting turns developers into killer-machines ;) something more t

[PHP-DEV] Bug #12014 Updated: pdf_open_memory_image doesn't work so I try to use PDF_open_image but...

2001-07-10 Thread derick
ID: 12014 Updated by: derick Reported By: [EMAIL PROTECTED] Old Summary: pdf_open_memory_image doesn't work so I try to use PDF_open_image but... Old Status: Feedback Status: Duplicate Bug Type: PDF related Operating System: Windows 98 SE PHP Version: 4.0.6 New Comment: Dup of #12021 (which has m

Re: [PHP-DEV] zend_hash patch

2001-07-10 Thread Derick Rethans
On Tue, 10 Jul 2001, Andi Gutmans wrote: > Hey, > > Has anyone had a chance to check the zend_hash patch I wrote about yesterday? I'm now configuring my build to check it out. Derick -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

[PHP-DEV] Bug #12021: Problem with the data parameter in pdf_open_image()

2001-07-10 Thread fred
From: [EMAIL PROTECTED] Operating system: Win NT 4.0 PHP version: 4.0.6 PHP Bug Type: FDF related Bug description: Problem with the data parameter in pdf_open_image() Hi, I use PDFLIB version 4.0.1 and PHP 4.0.6. The script works with no errors, and the PDF file is

[PHP-DEV] zend_hash patch

2001-07-10 Thread Andi Gutmans
Hey, Has anyone had a chance to check the zend_hash patch I wrote about yesterday? Andi -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECT

[PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread Andi Gutmans
At 06:00 PM 7/10/2001 +0200, André Langhorst wrote: >As it were Andi's last words, is it the finial decison now just to >implement $foo{x} to retrieve a single char? >I'm asking this again, because it will be irreversible because it is not >compatible with substr($foo,x) == $foo{x}!!! >And as I

[PHP-DEV] Bug #12016 Updated: Self-icludes causes system to consume all of available memory

2001-07-10 Thread derick
ID: 12016 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Scripting Engine problem Operating System: any PHP Version: 4.0.6 New Comment: For these kinds of things we have include_once and require_once. Derick Previous Comments: -

[PHP-DEV] Bug #12015 Updated: One of the library files needed to run this application cannot be found.

2001-07-10 Thread derick
ID: 12015 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Configuration Issues Operating System: Windows 98 PHP Version: 4.0.6 New Comment: What happens if you start php from the shell? Derick Previous Comments: --

[PHP-DEV] RE: Bug #11990 Updated: defined constants getting corrupted

2001-07-10 Thread Brian Lalor
Title: RE: Bug #11990 Updated: defined constants getting corrupted The bug update page isn't accepting my changes; keeps telling me:     The password you supplied was incorrect.     Something went wrong updating the database. I've got the right password. Since I can't submit my updat

[PHP-DEV] Bug #12020: dbm insert and replace functions inserting incorrect values.

2001-07-10 Thread taxman10m
From: [EMAIL PROTECTED] Operating system: NT 4.0 PHP version: 4.0.6 PHP Bug Type: DBM/DBA related Bug description: dbm insert and replace functions inserting incorrect values. The dbminsert and dbmreplace functions insert erroneous values into the database. Here is a shor

[PHP-DEV] Bug #12019: Syntax highlighting does not work with output buffering/compression

2001-07-10 Thread chris
From: [EMAIL PROTECTED] Operating system: Linux (SuSE 4.0) PHP version: 4.0.6 PHP Bug Type: Output Control Bug description: Syntax highlighting does not work with output buffering/compression Also in version 4.0.6 it do not work? any hints? -- Edit bug report at: http://bu

[PHP-DEV] Bug #12014 Updated: pdf_open_memory_image doesn't work so I try to use PDF_open_image but...

2001-07-10 Thread derick
ID: 12014 Updated by: derick Reported By: [EMAIL PROTECTED] Old Summary: pdf_open_memory_image doesn't work so I try to use PDF_open_image but... Old Status: Open Status: Feedback Bug Type: PDF related Operating System: Windows 98 SE PHP Version: 4.0.6 New Comment: Hello, can you provide a sho

[PHP-DEV] Str enhancement, final run

2001-07-10 Thread André Langhorst
As it were Andi's last words, is it the finial decison now just to implement $foo{x} to retrieve a single char? I'm asking this again, because it will be irreversible because it is not compatible with substr($foo,x) == $foo{x}!!! And as I still do not agree that substr($foo,4,6) should be better

[PHP-DEV] Bug #12013 Updated: RUSAGE_SELF not declared

2001-07-10 Thread derick
ID: 12013 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.4.3 PHP Version: 4.0.6 New Comment: Not a bug, so bogus Previous Comments: [2

[PHP-DEV] Bug #11985 Updated: BUG with parse_str

2001-07-10 Thread brianlmoon
ID: 11985 Updated by: brianlmoon Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Bogus Bug Type: URL related Operating System: SOLARIS 2.8 PHP Version: 4.0.6 New Comment: The user was using parse_str on $QUERY_STRING which caused the $delete array to have 4 entries. Brian. Previo

[PHP-DEV] Bug #12018: curl_exec() kills script

2001-07-10 Thread colin
From: [EMAIL PROTECTED] Operating system: Debian (2.4.5) PHP version: 4.0.6 PHP Bug Type: cURL related Bug description: curl_exec() kills script Every script I have that uses cURL never makes it past the curl_exec() line. Apache just seems to die at that point. Apache erro

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-10 Thread Aral Balkan
>> If we choose to do it in Andi's way (no real drawbacks, considering it's downwards compatible for most practical purposes), we can do it within 4.0. This would be even better. To echo what Andrei said, "the sooner the better" :) I've personally been wishing for this for the longest time! Aral

[PHP-DEV] * New Parameter Parsing Functions *

2001-07-10 Thread Andrei Zmievski
New parameter parsing functions === It should be easier to parse input parameters to an extension function. Hence, borrowing from Python's example, there are now a set of functions that given the string of type specifiers, can parse the input parameters and store the r

[PHP-DEV] Bug #12013 Updated: RUSAGE_SELF not declared

2001-07-10 Thread rasmus
ID: 12013 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Compile Failure Operating System: Linux 2.4.3 PHP Version: 4.0.6 New Comment: This is a FAQ. See http://www.php.net/FAQ.php#6.12 Previous Comments: -

[PHP-DEV] Bug #12016: Self-icludes causes system to consume all of available memory

2001-07-10 Thread laacz
From: [EMAIL PROTECTED] Operating system: any PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: Self-icludes causes system to consume all of available memory test.php contains: then just request test.php via any browser and here you are. Sugg

[PHP-DEV] Bug #12015: One of the library files needed to run this application cannot be found.

2001-07-10 Thread hottiehottie21
From: [EMAIL PROTECTED] Operating system: Windows 98 PHP version: 4.0.6 PHP Bug Type: *Configuration Issues Bug description: One of the library files needed to run this application cannot be found. Any script that is run with a .php extention displays the error "One of the

Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread Andrei Zmievski
Hey, you got there first. I was planning an OpenGL binding for after PHP-GTK. :) On Tue, 10 Jul 2001, CVS Account Request wrote: > Full name: Brad LaFountain > Email: [EMAIL PROTECTED] > ID:rodif_bl > Purpose: I currently have an alpha release of a php_opengl binding. Which has >su

[PHP-DEV] CVS Account Request

2001-07-10 Thread CVS Account Request
Full name: Brad LaFountain Email: [EMAIL PROTECTED] ID:rodif_bl Purpose: I currently have an alpha release of a php_opengl binding. Which has support for glut, glu and gl. They are broken down into two different modules one for gl/glu and one for glut. Additionally I have a extensi

[PHP-DEV] Bug #12014: pdf_open_memory_image doesn't work so I try to use PDF_open_image but...

2001-07-10 Thread yannbarrault
From: [EMAIL PROTECTED] Operating system: Windows 98 SE PHP version: 4.0.6 PHP Bug Type: PDF related Bug description: pdf_open_memory_image doesn't work so I try to use PDF_open_image but... PDF_open_memory_image function doesn't work on Windows System. So I try to use PD

  1   2   >