#30425 [Opn->Bgs]: Bad URL with include causes apache spawns, leading to crash

From: Date: Wed, 13 Oct 2004 23:01:58 +0000
Subject: #30425 [Opn->Bgs]: Bad URL with include causes apache spawns, leading to crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67558@lists.php.net to get a copy of this message
ID: 30425 Updated by: iliaa@php.net Reported By: noel at noeljackson dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: FreeBSD PHP Version: Irrelevant New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. not a bug. You've created a request loop. Previous Comments: ------------------------------------------------------------------------ [2004-10-13 21:52:12] noel at noeljackson dot com Description: ------------ When using the include() function that includes an improper URL AND a variable, PHP does not return an error, instead spawns instance after instance of httpd creating server hault. The include function that produced this is something like the following... <?php require('http://noeljackson/?template=/templates/ lastFive.tmpl.php?start='.$_GET['start']); ?> The problem with the URL is a & after .tmpl.php instead of a & Try it in a PHP document, ANY, and it will create many, many, many instances of httpd, resulting eventually in a server hault. Reproduce code: --------------- <?php require('http://noeljackson/?template=/templates/lastFive.tmpl.php?start='.$_GET['start']); ?> Expected result: ---------------- Return an error. Actual result: -------------- Spawning of httpd creating an eventual server hault. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30425&edit=1

« previous php.bugs (#67558) next »