[PHP-DEV] sapi/fhttpd + other sapi/cgi related things..

2002-10-12 Thread Jani Taskinen
While trying to make Andrei happy and come up with --disable-cgi option, I noticed that there is really nice little mess in there.. First of all, status of fhttpd...last version of it was released in 17-May-99..also last real updates to this code seem to have happened in

[PHP-DEV] CVS Account Request: hoiyor

2002-10-12 Thread Hoiyor Chen
To introduce myself on internet -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] How to debug?

2002-10-12 Thread Yasuo Ohgaki
Ernani Joppert Pontes Martins wrote: > That was pretty weird, like those magics of David Blaine > > But It was working before I made a change on it... > So then I decided to see what was wrong... > > I found the error in a for loop, I was stripslashing the database strings... > > That caused

Re: [PHP-DEV] How to debug?

2002-10-12 Thread Yasuo Ohgaki
Ernani Joppert Pontes Martins wrote: > Thanks Yasuo... > > Does the cvs version is provided in rpm format too? > No. You need to build it from source. (There may be people creating RPM, but I just don't know) -- Yasuo Ohgaki > []'s > > Ernani > > "Yasuo Ohgaki" <[EMAIL PROTEC

Re: [PHP-DEV] Re: Streams Problems

2002-10-12 Thread Wez Furlong
On 10/12/02, "Ilia A." <[EMAIL PROTECTED]> wrote: > So, I think this is indeed a problem. Allocating a huge buffer just because > users says so is not right, we might as well allow people direct memory > access while we are at it. One thing is that if this were to fail because > there were real

[PHP-DEV] Re: Streams Problems

2002-10-12 Thread Wez Furlong
I've committed a probable fix for the first issue. The second issue is not really an issue at all AFAICT; the delay is the remote server remaining open after serving your request because you have not closed the connection. This similar script does not "hang" as you described: http://host";, "r"

Re: [PHP-DEV] How to debug?

2002-10-12 Thread Ernani Joppert Pontes Martins
I was having a problem like this in one simple script It generates segfault by executing from shell, from apache it don't stop processing and locks up the machine, when it reaches the max_execution time, then it breaks. The gdb backtrace is here: #0 0x403d6646 in chunk_free (ar_ptr=0x4048a30

[PHP-DEV] reference parameters for overloaded objects

2002-10-12 Thread Wez Furlong
I've got some code that wraps objects from an external library. The "glue code" sets a flag when a reference parameter is set by a function; the code in my (ZE1) call handler looks something like this: if (args[i].isref) { if (!PZVAL_IS_REF(arguments[i])) { php_error(E_WARNING, "%s():

Re: [PHP-DEV] If programming languages could speak...

2002-10-12 Thread Andrei Zmievski
On Sat, 12 Oct 2002, Sebastian Bergmann wrote: > "And PHP answered: >All I ever do, day in and day out, is work and work and work. >The only time I'm noticed is when I break, and then I'm cursed and >kicked, and roundly blasted for being useless. However, when things go >well, I

[PHP-DEV] Streams Problems

2002-10-12 Thread Ilia A.
There are 3 streams related problems I've come across today while using CVS code. First it seems that sending of binary data in excess of 8k causes some of the data not to be sent. This can be easily replicated with the following test code: According to fwrite() output all the data has been w

[PHP-DEV] [4.3.0-pre1] output handler 'ob_gzhandler' cannot be used twice

2002-10-12 Thread Martin Jansen
With PHP 4.3.0-pre1 I get the following error message in Chora: "Warning: (null)() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in Unknown on line 0" Did you change the behaviour of ob_gzhandler, which makes this warning legal, or is it a bug? -- - Martin

Re: [PHP-DEV] sapi/fhttpd + other sapi/cgi related things..

2002-10-12 Thread Martin Jansen
On Sat Oct 12, 2002 at 09:3104AM +0300, Jani Taskinen wrote: > First of all, status of fhttpd...last version of it was released > in 17-May-99..also last real updates to this code seem to have > happened in PHP3. Can we get rid of this (most likely not even working) > piece of cod

[PHP-DEV] CVS Account Request: liuming

2002-10-12 Thread liuming
I want a CVS account to Translating the documentation -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] If programming languages could speak...

2002-10-12 Thread Sebastian Bergmann
"And PHP answered: All I ever do, day in and day out, is work and work and work. The only time I'm noticed is when I break, and then I'm cursed and kicked, and roundly blasted for being useless. However, when things go well, I never get a kind word. There's no notice of my ease of

[PHP-DEV] [4.3.0-pre1] Weird encoding issue

2002-10-12 Thread Martin Jansen
Yet another issue with 4.3.0-pre1 and Chora: The screenshot that is available at http://www.martinjansen.com/stuff/chora-4.3.0-pre1.png shows that something (probably some character encoding stuff) is pretty much broken in pre1. Currently I don't have the time to track this down more detailed, b

[PHP-DEV] Re: Streams Problems

2002-10-12 Thread Ilia A.
On October 11, 2002 10:55 pm, you wrote: > I've committed a probable fix for the first issue. I'll test the patch in the morning and let you know if it solved the problem. > The second issue is not really an issue at all AFAICT; the delay is the > remote server remaining open after serving your

Re: [PHP-DEV] How to debug?

2002-10-12 Thread Ernani Joppert Pontes Martins
That was pretty weird, like those magics of David Blaine But It was working before I made a change on it... So then I decided to see what was wrong... I found the error in a for loop, I was stripslashing the database strings... That caused the php to segfault, so then I've commented it out