Initial revision

This commit is contained in:
Olivier Müller
2001-05-03 17:25:09 +00:00
commit 7ff8fedebd
64 changed files with 7808 additions and 0 deletions

18
grab_globals.inc.php3 Normal file
View File

@@ -0,0 +1,18 @@
<?php
/* $Id$ */;
/**
* This library grabs the names and values of the variables sent or posted to a
* script in the '$HTTP_*_VARS' arrays and sets simple globals variables from
* them
*/
if (!empty($HTTP_GET_VARS)) {
while(list($name, $value) = each($HTTP_GET_VARS))
$$name = $value;
}
if (!empty($HTTP_POST_VARS)) {
while(list($name, $value) = each($HTTP_POST_VARS))
$$name = $value;
}
?>