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: [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:
> > ------------------------------------------------------------------------
>
> > [2001-07-10 11:11:54] [EMAIL PROTECTED]
>
> > 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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Zeev Suraski <[EMAIL PROTECTED]>
CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]