Comment Comment by cstrat After reading these comments I am intrigued. Whenever I have used PHP I pretty much always run extract three times: 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. parent cstrat 12 years ago
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.