Re: w3c-compliant form-action parameters

From: Date: Fri, 24 Oct 2003 19:43:47 +0000
Subject: Re: w3c-compliant form-action parameters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167486@lists.php.net to get a copy of this message
Chris Shiflett wrote:
--- Timo Boettcher <spida@gmx.net> wrote:
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.
I find that *very* hard to believe. I'm not aware of any browser that mishandles HTML entities. Basically, when you say this: action="/mypage.php?para1=val1&amp;para2=val2" Your browser's HTTP request line will appear as: /mypage.php?para1=val1&para2=val2 So, by the time PHP sees it, everything is the same either way. My guess is that you have some other problem.
I agree with Chris. This is not a browser problem. However, there is a php.ini setting that will allow you to set the separator for get requests, but I suggest you investigate this problem further. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com

« previous php.general (#167486) next »