View Single Post
Old 12-16-2003, 11:47 AM   #7
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. It's because of the following code found in the phpdigHttpVars function.
PHP Code:
         if (!isset($httpvars[$varname])) { 
            if (!isset(
$GLOBALS[$varname])) { 
            
// if there is no $_*['varname'] and no $GLOBALS['varname'] set to false value 
                 
$httpvars[$varname] = false
            } 
            else { 
            
// if there is no $_*['varname'] but there is $GLOBALS['varname'] set to global value 
                 
$httpvars[$varname] = $GLOBALS[$varname]; 
            } 
         } 
When you pass search.php?test=test to the script, $GLOBALS['test'] is set.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote