Posted by lawrence k on 01/07/06 05:49
I noticed, to my surprise, that PHP was still able to figure that
"search" is suppose to be an array:
http://www.accumulist.com/index.php?search%5BallFields%5D=bluewall
I'm impressed with that. Till now I've used POST in my forms as the
method for doing search forms, but now I'm trying GET and everything is
working fine.
Do most browsers auto encode a form input when it is sent via a GET
method? Is the encoding standard? It does not break anywhere?
What is PHP doing that it is able to figure out that in the above URL
"search" should be an array variable in the $_GET array?
Navigation:
[Reply to this message]
|