I can always test this, but I wanted an official answer from a PHP expert (something I am most certainly not).
If someone makes a request like this:
http://www.somedomain.com/a.php?param1=value1¶m2=value2¶m3=value3?param1=value4¶m2=value5¶m3=value6
What kinds of consequences are there when I try to access _GET['param2']
, for example? It looks like I just get the first value. In this case, it would return value2
. Is that expected behavior?
Does the second question mark affect anything? Will there be errors, for example?