Hi Marek,

Nachricht vom Freitag, 24. Oktober 2003, 19:17:36:

> Whoops. The first sentense should be a question.

> Marek Kilimajer wrote:
>> It breaks your server side scripts. & should be translated to & by 
>> the browser and never get to php.
>> 
>> Timo Boettcher wrote:
>> 
>>> Hi,
>>>
>>>   I am trying to get my pages through the w3c-validator for html.
>>>   It doesn't like my
>>>   <FORM action="mypage.php?para1=val1&para2=val2">
>>>   Changing & to &amp; got my page through the validator, but broke my
>>>   app, which seems not to be getting any parameters over URL anymore.
>>>   How can I fix that?
>>>
>>>   PS.: Moving that information from the URL to hidden fields or
>>>   cookies/sessions is not an option.
>>>
>>>  Timo

Yes. When I use
   <form action="mypage.php?para1=val1&para2=val2" Method=post>
everything works ok, the form is submitted to the given address.
When I do
   <form action="mypage.php?para1=val1&amp;para2=val2" Method=post>
the form is submitted to the given address, too, and that includes the
&amp; so that my application gets broken parameters and breaks.



 Timo

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to