PHP4 - PHP5 Problems

Out of context: Reply #15

  • Started
  • Last post
  • 15 Responses
  • enobrev0

    yep, the $_REQUEST var is basically meant to catch all 'incoming' vars (non session, cookie, server - just gets and posts).

    But, just to be sure, test it out by posting to a script with vars in the url as well . I know it grabs from both, like an array_merge (pretty sure), but im not sure how it handles duplicated variables and such.

    echo '' . var_export($_REQUEST, 1) . '';

    will show you what you need to know.

    And for your personal project, write away!

View thread