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
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke
my app, which seems not to be
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 part.
I
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
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke my
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 simply
Timo Boettcher wrote:
Its not easy to get the value of a hidden field in a bookmark.
Timo
Don't use amp; in bookmarks, use just .
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 amp; 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 hidden
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
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator,
John Nichel wrote:
Sure it is. Change the method of the form from a 'post' to a 'get'
FORM action=mypage.php?para1=val1para2=val2 method=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:
Can you upload the problematic page somewhere. I don't believe amp;
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 amp; in bookmarks,
Marek Kilimajer wrote:
John Nichel wrote:
Sure it is. Change the method of the form from a 'post' to a 'get'
FORM action=mypage.php?para1=val1para2=val2 method=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
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. amp; should be translated to by
the browser and never get to php.
Timo Boettcher wrote:
Hi,
I am trying to get
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
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but
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
form action=mypage.php?para1=val1para2=val2
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?
--- Marek Kilimajer [EMAIL PROTECTED] wrote:
FORM action=mypage.php?para1=val1para2=val2 method=get
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
--- 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=val1amp;para2=val2
Your browser's HTTP request line will appear as:
Hi Chris,
Nachricht vom Samstag, 25. Oktober 2003, 18:13:10:
--- Marek Kilimajer [EMAIL PROTECTED] wrote:
FORM action=mypage.php?para1=val1para2=val2 method=get
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
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
--- 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
Timo Boettcher wrote:
snip
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
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=val1amp;para2=val2
Your
--- 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 location
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=val1para2=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.
It breaks your server side scripts. amp; 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=val1para2=val2
Changing to amp; got my page
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.
Whoops. The first sentense should be a question.
Marek Kilimajer wrote:
It breaks your server side scripts. amp; 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
--- Timo Boettcher [EMAIL PROTECTED] wrote:
I am trying to get my pages through the w3c-validator for html.
It doesn't like my
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke
my app, which seems not to be getting any parameters over
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
FORM action=mypage.php?para1=val1para2=val2
Changing to amp; got my page through the validator, but broke
my app, which seems not to be getting
it isn't used.
ini_set('arg_separator.output', 'amp;');
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 form-action parameters
Chris Shiflett wrote
--- 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 W3C
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
--- 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 for and
32 matches
Mail list logo