|
Posted by Jan Pieter Kunst on 06/25/06 15:51
It seems there is some confusion between arg_separator.output and
arg_separator.input here.
"&" should be used for arg_separator.output, i.e. URL's generated by
PHP, so that those webpage that use those URL's are valid.
"&" or ";" should be used for arg_separator.input , i.e. incoming GET
requests. In that context the separator is just "&", not "&".
Note how clicking on an "&" separated URL:
<a href="http://example.com/script.php?var1=this&var2=that">click</a>
Results in
http://example.com/script.php?var1=this&var2=that
In the location bar of your browser.
The browser translates the "&" representation on the webpage of the
"&" character back to the actual "&" character for input purposes.
JP
--
Sorry, <devnull@cauce.org> is een "spam trap".
E-mail adres is <jpk"at"akamail.com>, waarbij "at" = @.
[Back to original message]
|