Hi all I have what may or may not be a simple question.
I need to pass $HTTP_POST_VARS to a function.
Within this function I have a include statement and the code that is loaded I wish for it to be able to reference the variables just like you normally would from a posted form.
class runtime{
function execute($handler,$vars){
//need vars to be globally available here
include($handler); //needs the $vars
}
}
$cls = new runtime()
$cls->execute($handler,$HTTP_POST_VARS)