Menu
I got warning when running my site…
Warning: Invalid argument supplied for foreach() in startup.php on line 9
Warning: Invalid argument supplied for foreach() instartup.php on line 15
The following are the codes in startup.php
define(ADMIN_PATH,$script_path);
session_register(UID);
foreach($HTTP_GET_VARS as $key => $value)
{
$glob[$key]=$value;
}
foreach($HTTP_POST_VARS as $key => $value)
{
$glob[$key]=$value;
}
Can anyone find out the problem and give me the solution…