communication
 databases
 directories
 file handling
 html and code
 image editing
 image listing
 sessions and co
 string handling
 information
 forms
 apple stuff
 image handling
 array handling
 lixlpixel
php - snippets
google search terms detected and highlighted.
remove highlighting | keep highlighting
make snippet in "html and code" - download "vars with reg.glob. off"
 search
php - snippets

Valid CSS!

php webring logo
prev next
random list
join the Ring!

html and code - vars with reg.glob. off was created/last modified on Mon 06 Oct 2003 7:08 PM

<?

// reassign HTTP variables (incase register_globals is off)

  
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;

?>   

learn more about some of the PHP functions used in this snippet: case, each, empty, glob, global, list, var, while

view the GNU general license - view the GNU library license - search on PHPsnippets - see your code like this

 a lixlpixel.com site

PHParadise.com - PHP-classes.org - your site on safari