In PHP, if I have the following script:
var_dump($_REQUEST);
How can I distinguish between the following queries:
GET /foo?hello%20dude=cool GET /foo?hello_dude=cool
both of them print:
array(1) { ["hello_dude"]=> string(4) "cool" }
since key names are not allowed to have spaces? Should I manually analyze the POST data as well as the GET data, or is there an easier way?
source share