Hi!
Just a quick question to ask about encoded URLs and the $_REQUEST
1) I pass the following URL around:-
http://www.testsite.com/test.php?word1=hello&word2=my&word3=name
$REQUEST("word1") would return "hello"
$REQUEST("word2") would return "my"
$_REQUEST("word3") would return "name"
2) I pass the following URL around:-
http://www.testsite.com/test.php?word1=hello&word2=my&word3=name
$REQUEST("word1") would return "hello"
$REQUEST("word2") would return ""
$_REQUEST("word3") would return ""
So why does PHP not interpret the & from a $GET or $REQUEST ????
I know it's only standards, by Firefox / W3C Standards mean that if you put URLs on pages (i.e. as autolinks to be fired from JS) that this isn't standards complient!
Are there any proper solutions to this, or is it purely a case of reading the entire URL into a global variable, and then manipulating it from that?
Many thanks - Mike