#20431 [Opn->Bgs]: function generated include blocks access to $HTTP_GET_VARS[]
| From: | derick@php.net | Date: | Thu, 14 Nov 2002 19:30:16 +0000 |
| Subject: | #20431 [Opn->Bgs]: function generated include blocks access to $HTTP_GET_VARS[] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24912@lists.php.net to get a copy of this message | ||
ID: 20431
Updated by: derick@php.net
Reported By: remi2402@hotmail.com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows XP Pro
PHP Version: 4.2.3
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.
Previous Comments:
------------------------------------------------------------------------
[2002-11-14 13:29:22] remi2402@hotmail.com
My script uses multiple includes and the file names all have the same
syntax. So instead of writing each individual include, I created an
array which contains all the filenames
function LoadSections($sections)
{
foreach ($sections as $key => $value)
{
include "mod.section." . $value . ".php";
}
}
All the files load well except that I cannot access HTTP_GET_VARS and
the isset() function always return false.
NB My includes work fine when loaded individually
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20431&edit=1