Hi...I'm just wondering if anyone had any idea on how to assign all the variables grabbed from $HTTP_POST_VARS to their own variables?
i.e $HTTP_POST_VARS['action'] would simply be called $action.
The reason I need to do this, is because it seems that some servers have a weird security feature installed, whereas they won't let you call variables like $action
At the moment I have this code;
$$thing = $HTTP_POST_VARS[$var];
echo "assigning \$$thing to $var <BR>";
}
Now, that doesn't seem to be working right, in assigning the variables.
Has anyone ever had to do this, and if so, would you mind sharing how?
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
i.e $HTTP_POST_VARS['action'] would simply be called $action.
The reason I need to do this, is because it seems that some servers have a weird security feature installed, whereas they won't let you call variables like $action
At the moment I have this code;
Code:
foreach($HTTP_POST_VARS as $thing => $var) { $$thing = $HTTP_POST_VARS[$var];
echo "assigning \$$thing to $var <BR>";
}
Now, that doesn't seem to be working right, in assigning the variables.
Has anyone ever had to do this, and if so, would you mind sharing how?
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

