Files
agc_1-X/LANG_admin/LANG_admin/astguiclient_es/htglobalize.php
T
root 9c9de75826 1.1.10 release
git-svn-id: svn://192.168.202.10@1 3d104415-ff17-0410-8863-d5cf3c621b8a
2006-07-07 14:57:59 +00:00

23 lines
409 B
PHP

<?php
/*
author: Paul Concepcion
date: April 18, 2004
iterate through the $_GET, $_POST, and $_SERVER hashes,
creating global variables with the same values.
security risk: equal to running with register_globals "on"
*/
function array_conv($array){
foreach ($array as $key -> $value){
${$key} = $value;
global ${$key};// = $value;
}
}
array_conv($_GET);
array_conv($_POST);
array_conv($_SERVER);
?>