How about adding something like this at the top of your scripts;
foreach($HTTP_POST_VARS as $thing => $var) { $$thing = $var; }
foreach($_GET as $thing => $var) { $$thing = $var; }
foreach($_POST as $thing => $var) { $$thing = $var; }
Do this with any other array of variables that you need to access as globals. Its pretty simple code that I had to write a while back, to get over a similar problem you are having now.
Hope it helps
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!
Code:
foreach($HTTP_GET_VARS as $thing => $var) { $$thing = $var; } foreach($HTTP_POST_VARS as $thing => $var) { $$thing = $var; }
foreach($_GET as $thing => $var) { $$thing = $var; }
foreach($_POST as $thing => $var) { $$thing = $var; }
Do this with any other array of variables that you need to access as globals. Its pretty simple code that I had to write a while back, to get over a similar problem you are having now.
Hope it helps
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!