Re: [PHP] w3c-compliant form-action parameters [solved]

2003-10-27 Thread Timo Boettcher
Hi Timo, Nachricht vom Freitag, 24. Oktober 2003, 17:58:39: > I am trying to get my pages through the w3c-validator for html. > It doesn't like my > > Changing & to & got my page through the validator, but broke > my app, which seems not to be getting any parameters over URL > anymor

Re: [PHP] w3c-compliant form-action parameters

2003-10-26 Thread Timo Boettcher
Hi Chris, Nachricht vom Samstag, 25. Oktober 2003, 19:06:10: > --- Timo Boettcher <[EMAIL PROTECTED]> wrote: >> > http://shiflett.org/dev/php-general/ampersand.php >> >> can you put the source of that online, too? > You can view the source in your browser to see the HTML, which is > the relevant

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Timo Boettcher <[EMAIL PROTECTED]> wrote: > > http://shiflett.org/dev/php-general/ampersand.php > > can you put the source of that online, too? You can view the source in your browser to see the HTML, which is the relevant part. If you see the HTML entity for an ampersand in your browser's loc

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Chris, Nachricht vom Samstag, 25. Oktober 2003, 18:28:27: > --- Timo Boettcher <[EMAIL PROTECTED]> 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¶2=val2"

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread John Nichel
Timo Boettcher wrote: It will not work. One of the requirements of my app is that I can place a bookmark on any page and return to it. That wouldn't work with hidden fields, would it? BTW, I am using http-post. It will work. Change your form method from post to get, and drop your variables from

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Timo Boettcher <[EMAIL PROTECTED]> wrote: > It will not work. One of the requirements of my app is that I can > place a bookmark on any page and return to it. That wouldn't work > with hidden fields, would it? It would if you use the GET method as someone had suggested. Basically, this is how

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Timo Boettcher wrote: Marek's right, and this is the case for every browser I know of. In this case, you can specify para1 and para2 as hidden form variables, and it will work. It will not work. One of the requirements of my app is that I can place a bookmark on any page and return to it. That w

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Chris, Nachricht vom Samstag, 25. Oktober 2003, 18:13:10: > --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: >> > >> >> Get variables in action URL don't work with get method, at least in >> Mozilla. > Marek's right, and this is the case for every browser I know of. > In this case, you can s

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Timo Boettcher <[EMAIL PROTECTED]> 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¶2=val2" > > > > Your browser's HTTP request line will appear as: > > > > /my

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > > > > Get variables in action URL don't work with get method, at least in > Mozilla. Marek's right, and this is the case for every browser I know of. In this case, you can specify para1 and para2 as hidden form variables, and it will work. Hope

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Marek, Nachricht vom Samstag, 25. Oktober 2003, 16:42:49: > Hi, I'm not sure if this was asked, but what browser are you using? Opera 7.21 IE 6.0.2800.1106 > I get everything correctly and I don't remember any browser with > this kind of bug. Also, can you post the relevant part of page source

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Hi, I'm not sure if this was asked, but what browser are you using? I get everything correctly and I don't remember any browser with this kind of bug. Also, can you post the relevant part of page source? Timo Boettcher wrote: Yes. When I use everything works ok, the form is submitted to th

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Chris, Nachricht vom Freitag, 24. Oktober 2003, 21:12:06: > --- Timo Boettcher <[EMAIL PROTECTED]> wrote: >> I am trying to get my pages through the w3c-validator for html. >> It doesn't like my >> >> Changing & to & got my page through the validator, but broke my >> app, which seems not to b

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
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, >>> >>>

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread John Nichel
Marek Kilimajer wrote: John Nichel wrote: Sure it is. Change the method of the form from a 'post' to a 'get' Get variables in action URL don't work with get method, at least in Mozilla. Right, my bad. He'd have to move them into hidden fields to be in the URL query string ...

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Can you upload the problematic page somewhere. I don't believe & entity is the real problem. Timo Boettcher wrote: Hi Marek, Nachricht vom Samstag, 25. Oktober 2003, 13:02:06: Timo Boettcher wrote: Its not easy to get the value of a hidden field in a bookmark. Don't use & in bookmarks, use ju

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
John Nichel wrote: Sure it is. Change the method of the form from a 'post' to a 'get' Get variables in action URL don't work with get method, at least in Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread John Nichel
Timo Boettcher wrote: Hi John, Nachricht vom Freitag, 24. Oktober 2003, 19:06:33: Timo Boettcher wrote: Hi, I am trying to get my pages through the w3c-validator for html. It doesn't like my Changing & to & got my page through the validator, but broke my app, which seems not to be getting

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Marek, Nachricht vom Samstag, 25. Oktober 2003, 13:02:06: > Timo Boettcher wrote: >> Its not easy to get the value of a hidden field in a bookmark. > Don't use & in bookmarks, use just &. But when I say "Bookmark this Page" (in any browser) that gets me a bookmark on the url, and not on hidde

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Timo Boettcher wrote: Its not easy to get the value of a hidden field in a bookmark. Timo Don't use & in bookmarks, use just &. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Pablo, Nachricht vom Freitag, 24. Oktober 2003, 19:14:31: > Hi, Timo. Why can't use use hidden fields instead of appending the > values to the url? It would be the same to access them via > $_GET['para1'] $_GET['para2] (unless you were using post as your method, > in which case it would simp

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi John, Nachricht vom Freitag, 24. Oktober 2003, 19:06:33: > Timo Boettcher wrote: >> Hi, >> >> I am trying to get my pages through the w3c-validator for html. >> It doesn't like my >> >> Changing & to & got my page through the validator, but broke my >> app, which seems not to be ge

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Chris Shiflett
--- Matt Babineau <[EMAIL PROTECTED]> wrote: > All this aside what about using the ASCII value of the & symbol. > (I think its ASCII). > > You know how sometimes links with spaces in them are %20 instead > of the actual space? I'm not sure what it is but I am pretty sure > there is a %something fo

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Matt Babineau
All this aside what about using the ASCII value of the & symbol. (I think its ASCII). You know how sometimes links with spaces in them are %20 instead of the actual space? I'm not sure what it is but I am pretty sure there is a %something for and ampersand symbol. That may workif its not alre

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Chris Shiflett
--- Nathan Taylor <[EMAIL PROTECTED]> wrote: > This problem should be handled by modifying the php.ini. In my > experience W3C is a whiney bitch that always gets it's way. Just > throw this code on all your pages (or better yet, in a header) and > the problem will go away. > > // The communists at

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Nathan Taylor
;s make sure it isn't used. ini_set('arg_separator.output', '&'); Cheers, Nathan Taylor - Original Message - From: Burhan Khalid To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Friday, October 24, 2003 3:43 PM Subject: Re: [PHP] w3c-compliant for

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Burhan Khalid
Chris Shiflett wrote: --- Timo Boettcher <[EMAIL PROTECTED]> wrote: I am trying to get my pages through the w3c-validator for html. It doesn't like my Changing & to & got my page through the validator, but broke my app, which seems not to be getting any parameters over URL anymore. I find that

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Chris Shiflett
--- Timo Boettcher <[EMAIL PROTECTED]> wrote: > I am trying to get my pages through the w3c-validator for html. > It doesn't like my > > Changing & to & 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

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Marek Kilimajer
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 Cha

RE: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Pablo Gosse
Hi, Timo. Why can't use use hidden fields instead of appending the values to the url? It would be the same to access them via $_GET['para1'] $_GET['para2] (unless you were using post as your method, in which case it would simply be $_POST['varname']) if they were on the url or in hidden fields.

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread Marek Kilimajer
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 Changing & to & got my page through the validator, but broke my app, which

Re: [PHP] w3c-compliant form-action parameters

2003-10-24 Thread John Nichel
Timo Boettcher wrote: Hi, I am trying to get my pages through the w3c-validator for html. It doesn't like my Changing & to & 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 infor