extract($_GET, EXTR_PREFIX_ALL|EXTR_REFS, 'gVar');
extract($_POST, EXTR_PREFIX_ALL|EXTR_REFS, 'pVar');
extract($_COOKIE, EXTR_PREFIX_ALL|EXTR_REFS, 'cVar');
It makes working with get/post/cookies much easier.
All variables are extracted with a prefix... so:http://www.yyy.com/script.php?hello=world Results with: $gVar_hello being the variables holding 'world'.
Is this poor form?
I previously used: `import_request_variables` - but thats been sidelined.