php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12016 Self-icludes causes system to consume all of available memory
Submitted: 2001-07-10 11:11 UTC Modified: 2001-07-10 12:31 UTC
From: laacz at laacz dot lv Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.6 OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: laacz at laacz dot lv
New email:
PHP Version: OS:

 

 [2001-07-10 11:11 UTC] laacz at laacz dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-10 12:31 UTC] derick@php.net
For these kinds of things we have include_once and require_once.

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 13:01:31 2025 UTC