README.md

December 4, 2022 ยท View on GitHub

Easiest GET/POST vars...

Description

This is the easiest way to access all of your GET and/or POST vars. It is the fastest and least amount of code...

More Info

Submitted On
BySteven Pratt
LevelIntermediate
User Rating3.8 (19 globes from 5 users)
CompatibilityPHP 4.0
CategoryCoding Standards
WorldPHP
Archive File

Source Code

<?
// This is uses the foreach function, which is
// more resource-efficient than while(list...
// The first line grabs the post vars, and
// the second line grabs the get vars...
foreach($_POST as $key=>$val){ $$key = $val; }
foreach($_GET as $key=>$val){ $$key = $val; }
?>