Re: Re: Bug #12016 Updated: Self-icludes causes system to consume all of available memory

From: Date: Wed, 11 Jul 2001 10:43:00 +0000
Subject: Re: Re: Bug #12016 Updated: Self-icludes causes system to consume all of available memory
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-59682@lists.php.net to get a copy of this message
There are many ways to cause such behavior, which are much simpler than that. One simple example is <?php while(true); ?> To avoid it, you should use the max execution time feature. Zeev At 12:34 11/7/2001, laacz wrote:
But it doesn't solve the problem itself. You can easily overload server on which you can create and execute PHP script. ID: 12016 Updated by: derick Reported By: laacz@laacz.lv 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: ------------------------------------------------------------------------ [2001-07-10 11:11:54] laacz@laacz.lv test.php contains: <? include ( 'test.php' ); ?>> then just request test.php via any browser and here you are. Suggestion: Add variable to php.ini file, which restricts amount of nested includes. ------------------------------------------------------------------------ ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=12016&edit=1 -- lcz -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#59682) next »