ID: 13277
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Variables related
Operating System: Debian GNU/Linux
PHP Version: 4.0.6
New Comment:

This is wrong.

& is the way to specify & in HTML.

For example:

<a href="script.php?var1=value&amp;var2=othervalue">Click here to continue</a>

But the browser should (according to HTML-specs) request this uri:
script.php?var1=value&var2=othervalue
from internet (i.e., your script)

If the browser doesn't do that, it's a browser bug.


Previous Comments:
------------------------------------------------------------------------

[2001-09-12 20:00:05] [EMAIL PROTECTED]

The query_string "a=1&b=2" and "a=1&amp;b=2" should be equivalent, but they are not 
with php. A workaround is to use arg_separator.input = ";&".

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13277&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to