On 12/16/2010 8:28 AM, Myron Turner wrote:
On 12/16/2010 9:22 AM, Michiel Kamermans wrote:$_REQUEST should be avoided, since it's the "master" array of global variables, to which you should not have any access =) - Mike "Pomax" Kamermans nihongoresources.comWho made up this rule?
Illphrased on my part. I meant that you shouldn't use $_REQUEST because it's a superglobal container. If you know it's a normal URL parameter, use $_GET, because that's where it's supposed to be. If the same parameter is also passed in $_POST and in $_COOKIE, using $_REQUEST is going to do majestically wrong things.
- Mike -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist