Re: w3c-compliant form-action parameters

From: Date: Sat, 25 Oct 2003 17:25:00 +0000
Subject: Re: w3c-compliant form-action parameters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-167574@lists.php.net to get a copy of this message
Hi Chris, Nachricht vom Samstag, 25. Oktober 2003, 18:28:27: > --- Timo Boettcher <spida@gmx.net> wrote: >> > 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 >> >> That seems to be different here. With IE and opera, I get >> "mypage.php?para1=val1&amp;para2=val2" as the page address. > I'm curious now. Try this page: > http://shiflett.org/dev/php-general/ampersand.php can you put the source of that online, too? > View source and make sure this matches your situation. When I click > the submit button, the next page looks like this for me: [...] > Also, the URL I go to is: > > http://shiflett.org/dev/php-general/ampersand.php?foo=1&bar=2 > Note that the HTML entity was decoded by my browser. What are your > results? I get the same result as you do. BUT: that page doesn't validate.... *g* I guess I have got a problem with my encoding or something... I have: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <META http-equiv="Expires" content="0"> <TITLE>Title</TITLE> <LINK rel="stylesheet" type="text/css" href="./style_bottom.css"> </HEAD> <BODY bgcolor="#6a9bd2"> <FORM action="page.php?Customer=test&User=test" METHOD=POST> . . . </FORM> </BODY> > Chris Timo

« previous php.general (#167574) next »