|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-10-14 01:01 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 07:00:02 2025 UTC |
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.