Re: [PHP-DEV] Fix for bug 19207 (change of cgi behaviour in PHP 4.3.0)

2002-11-22 Thread Edin Kadribasic
On Friday 22 November 2002 04:18, Jani Taskinen wrote: I can't remember that discussion..but why do we need yet another ini option? If the current behaviour is incorrect, and you can fix it..why do you even ask here? :) FYI:

Re: [PHP-DEV] Fix for bug 19207 (change of cgi behaviour in PHP4.3.0)

2002-11-22 Thread Jani Taskinen
On Fri, 22 Nov 2002, Edin Kadribasic wrote: On Friday 22 November 2002 04:18, Jani Taskinen wrote: I can't remember that discussion..but why do we need yet another ini option? If the current behaviour is incorrect, and you can fix it..why do you even ask here? :) FYI:

Re: [PHP-DEV] zend_API.c patch

2002-11-22 Thread Derick Rethans
On Thu, 21 Nov 2002, Marcus Börger wrote: In zend_API.c we do not initialize is_static for the registered function. Therefore sometime they are static and sometimes not. We must make those non static or provide the information in the call. Non static is required for things like ext/domxml.

[PHP-DEV] when will php5 rc be out?

2002-11-22 Thread Crispin Fütterer
we are planning to rewrite our system completely from the scratch and for that it would be very useful to know when you are going to release the first version of php5. is there any announcement or some rumors about a rc? -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

RE: [PHP-DEV] [PATCH] Redirect on Error

2002-11-22 Thread James Aylett
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On What is so hard to understand in word 'FATAL'? If your script doesn't work, what use is it to make it show the cryptic 500 error?? I'm -10 for adding anything like this, even if and even more then if it's optional.

Re: [PHP-DEV] when will php5 rc be out?

2002-11-22 Thread Derick Rethans
On Fri, 22 Nov 2002, Crispin Fütterer wrote: we are planning to rewrite our system completely from the scratch and for that it would be very useful to know when you are going to release the first version of php5. When it's ready :) is there any announcement or some rumors about a rc? No,

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-22 Thread Melvyn Sopacua
At 00:42 11/22/2002 +0200, Jani Taskinen wrote: What is so hard to understand in word 'FATAL'? Fatal what? [1] If your script doesn't work, what use is it to make it show the cryptic 500 error?? +1 on that. Let's concentrate on the issue: parse errors belong in 'lint'. I still

[PHP-DEV] [PATCH] New function file_put_contents()

2002-11-22 Thread Christian Schneider
Ok, I try again to submit the patch and a test script for it :-) Prototype: int file_put_contents(string filename, mixed data [, string mode]) It takes a filename (URL wrappers supported), the data to be written and a mode for the file. The data can be either a string or an array (which is

Re: [PHP-DEV] ZE2 + F3P

2002-11-22 Thread Marcus Börger
At 03:59 22.11.2002, Marcus Börger wrote: In the following link you will find final, public, protected and private (f + 3p) for ZE2: http://marcus-boerger.de/php/ext/ze2/ What it does: (...) - 'speed guys' continued: during compile time (zend_compile.c) Forgot to complete this section :-)

[PHP-DEV] Re: Problem with a php function

2002-11-22 Thread Maxim Maletsky
Mike, I am not really the person to ask about the parse_ini_file functionality. I remind, though, that just the other day there was something discussed on PHP-DEV list regarding it. Therefore, I CC this mail to the DEV list hoping there is any interest regarding your problem. Chances are it is

[PHP-DEV] readfile() suggestion

2002-11-22 Thread Steve Alberty
Hi, i've a small suggestion to improve the behavior of the readfile() function. First, since the command use the php streams, sometimes php crashes, especially with big files (10MB). Also, if you output a file with readfile(), the memory consumption is excacly the same as the reading file. I

[PHP-DEV] Patch for gd.c

2002-11-22 Thread Moriyoshi Koizumi
Hi, This tiny patch prevents the warnings when applying imagecolordeallocate() on true colour values. I suppose this new behaviour would be more consistent because we can use imagecolorallocate() with true colour images. Then what do you guys think about this issue? Moriyoshi Index:

[PHP-DEV] php4.3 and zend2

2002-11-22 Thread michel 'ziobudda' morelli
Hi, and sorry for the question: I have lost the cvs string to get last php4-dev with ze2. Does some1 give me it ? tnx and sorry. -- Michel ZioBudda Morelli [EMAIL PROTECTED] ICQ UIN: 58351764 PR of Linux in Italy http://www.ziobudda.net

Re: [PHP-DEV] php4.3 and zend2

2002-11-22 Thread Derick Rethans
On 22 Nov 2002, michel 'ziobudda' morelli wrote: Hi, and sorry for the question: I have lost the cvs string to get last php4-dev with ze2. Does some1 give me it ? cvs -d :pserver:[EMAIL PROTECTED]:/repository co php4-ze2 Derick --

[PHP-DEV] I need to search in my files

2002-11-22 Thread William Stark
Hi everyone, I need to search for a string in all the html files of a directory. The problem is that i have to program this to be multi-plattform, so i cant use linux commands. I cant find any PHP native function to do this easily. What can i do? I thought about going like this... /*read all files

Re: [PHP-DEV] I need to search in my files

2002-11-22 Thread Derick Rethans
On Fri, 22 Nov 2002, William Stark wrote: Hi everyone, I need to search for a string in all the html files of a directory. The problem is that i have to program this to be multi-plattform, so i cant use linux commands. I cant find any PHP native function to do this easily. What can i do? I

[PHP-DEV] PHP Magick version 0.4a Released!

2002-11-22 Thread Michael Montero
Just released the next version of magick, the PHP ImageMagick extension. It's now available as this URL: http://magick.communityconnect.com/ Here are the latest changes: o functions added: magick_writeimages() magick_destroyhandle()

[PHP-DEV] [PATCH] Fix to dns_get_record

2002-11-22 Thread Pollita
Thanks for your modifications to dns_get_record Marcus, but an extra change or two needs to be throw in to get it working just right. Here's a tiny patch to avoid inserting random values as subarrays (leading to a segfault) and properly dispose of resolv resources between queries. Trouble is,

[PHP-DEV] CVS Account Request: bar3

2002-11-22 Thread bar3
hloo -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Patch for gd.c

2002-11-22 Thread Rasmus Lerdorf
I have committed this, sort of anyway. I moved the check up as there is really no reason to go through and even try to do the deallocate on a truecolour image. -Rasmus On Sat, 23 Nov 2002, Moriyoshi Koizumi wrote: Hi, This tiny patch prevents the warnings when applying

RE: [PHP-DEV] PHP 4.3 ToDo

2002-11-22 Thread Steven Roussey
Georg, That sounds great. There was a memory leak fix in that function for some users of unbuffered queries that you might want to leave in. I propose the following function which is also a placeholder/reminder for the future: /* {{{ _restore_connection_defaults */ static int

[PHP-DEV] CVS Account Request: egnited

2002-11-22 Thread Richard Udovich
I am developing a graph creation module for PEAR, QUICKGRAPH for which i already have an account with pear but i belive i need also a cvs account. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Fix to dns_get_record

2002-11-22 Thread Marcus Börger
Don't you have a cvs account right now to apply that yourself? marcus At 23:50 22.11.2002, Pollita wrote: Thanks for your modifications to dns_get_record Marcus, but an extra change or two needs to be throw in to get it working just right. Here's a tiny patch to avoid inserting random values

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main streams.c

2002-11-22 Thread Marcus Börger
I thought there was another error somewhere but it seems it was the efree and then requesting the memory. Without the patch i simply got *RECURSION* out of php. Anybody able to explain this? marcus At 02:24 23.11.2002, Marcus Boerger wrote: helly Fri Nov 22 20:24:08 2002 EDT

Re: [PHP-DEV] [PATCH] Fix to dns_get_record

2002-11-22 Thread Sara
Wasn't aware I had the karma to make commits yet. I'm also the type to tread lightly being new to this sandbox. Patch is applied along with documentation in phpdoc. Thanks again. Don't you have a cvs account right now to apply that yourself? marcus At 23:50 22.11.2002, Pollita wrote:

Re: [PHP-DEV] Patch for gd.c

2002-11-22 Thread Moriyoshi Koizumi
Thanks! Moriyoshi Rasmus Lerdorf [EMAIL PROTECTED] wrote: I have committed this, sort of anyway. I moved the check up as there is really no reason to go through and even try to do the deallocate on a truecolour image. -Rasmus On Sat, 23 Nov 2002, Moriyoshi Koizumi wrote: Hi,

[PHP-DEV] Patch for range()

2002-11-22 Thread Moriyoshi Koizumi
Hi, I've just found range() behaves unexpectedly in some special cases. For instance, please try the following script. ?php echo count(range('a', 'z', 12)); ? will give 45 while it should return an array that consists of 3 elements. That is because the counting may exceed the upper limit of

Re: [PHP-DEV] Patch for range()

2002-11-22 Thread Jon Parise
On Sat, Nov 23, 2002 at 03:37:29PM +0900, Moriyoshi Koizumi wrote: I've just found range() behaves unexpectedly in some special cases. For instance, please try the following script. ?php echo count(range('a', 'z', 12)); ? will give 45 while it should return an array that consists of 3