Re: [PHP-DEV] Trapping "memory exhausted" error

2007-04-18 Thread David Sklar
On 4/17/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, April 17, 2007 3:16 am, David Sklar wrote: > Richard Lynch <[EMAIL PROTECTED]> wrote: >> You might also come at it from the other direction and detect/notify >> at some number smaller than the current hard limit, configurable in >> php.

Re: [PHP-DEV] Trapping "memory exhausted" error

2007-04-18 Thread David Sklar
On 4/17/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > In my current situation, bail out, but gracefully -- perhaps just send > a 302 to an error page and exit; maybe instead throw away the output > buffer and then directly output some friendly error text. I think you can do it with shutdow

Re: [PHP-DEV] magic_quotes_gpc behaviour

2007-04-18 Thread Arpad Ray
Update: I raised this issue as a bug (#41093) because of lack of interest here. It's now been fixed in CVS and will therefore be in 5.2.2 RC2 (thanks Ilia). Arpad -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Build failure

2007-04-18 Thread Richard Quadling
This looks like it will be available in snaps.php.net in about 40 minutes. Looking forward to it! On 17/04/07, Rob Richards <[EMAIL PROTECTED]> wrote: Unless anyone sees a way to do this without adding the lock, I'd like to commit this patch. It adds a php_flock call only for windows. In doing

[PHP-DEV] [PATCH] max_input_nesting_level in PHP_4_4 Branch

2007-04-18 Thread Seiji Masugata
Hello, Derick. :-) http://www.php-security.org/MOPB/MOPB-02-2007.html http://www.php-security.org/MOPB/MOPB-03-2007.html http://news.php.net/php.cvs/43349 Is this change plan to PHP_4_4 Branch? I think that it should become a similar operation. My patch works in PHP_4_4 Branch. Regards. -- Sei

[PHP-DEV] Re: [PATCH] max_input_nesting_level in PHP_4_4 Branch

2007-04-18 Thread Derick Rethans
Hello, On Wed, 18 Apr 2007, Seiji Masugata wrote: > http://www.php-security.org/MOPB/MOPB-02-2007.html > http://www.php-security.org/MOPB/MOPB-03-2007.html > http://news.php.net/php.cvs/43349 > > Is this change plan to PHP_4_4 Branch? No, we can not add a change like this to PHP 4.4 - even if w

Re: [PHP-DEV] Trapping "memory exhausted" error

2007-04-18 Thread Stanislav Malyshev
Ah, excellent, thanks. I'll take a look. This looks like what http://ez.no/doc/components/view/latest/(file)/Execution/ezcExecution.html does (Derick mentions this in the comments at http://php100.wordpress.com/2007/04/16/graceful-recovery/) Yes, that's basically where I've got the idea. Looks l

[PHP-DEV] CVS Account Request: kguest

2007-04-18 Thread Ken Guest
I'm a developer for the Validate_IE pear class and would like to commit my own changes to CVS on David Coallier's ( aka davidc ) recommendation. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: HTTP caching

2007-04-18 Thread Bart de Boer
Anyone care to comment? Bart de Boer wrote: Hello all, I couldn't find if this is already implemented somehow. But I thought it would be a nice idea to let the PHP http streams understand HTTP caching. This could come in particularly handy when PHP is used to consume REST-based webservice