First off, i am trying to counter my Global Variables=OFF settings on some scripts cause there are just toooo many variables and it's painful to set them each like:
$_POST=[oneOf100Vars];
so ok.. i have this function to take care of that:
//if GLOBAL = off. this will counter it.
function globalize(){
foreach($_POST as $var => $val){
$$var = $val;
}
}
but now, the problem is, these variables are set locally within a function.. how do i make the variable variables available to the whole script?
thanks!
tea