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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
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
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!