I can't speak to cell phones, but it works on all "normal" browsers I've ever
seen...
________________________________________
From: Nisse Engström [EMAIL PROTECTED]
Sent: Monday, September 29, 2008 6:11 PM
To: [email protected]
Subject: Re: [PHP] How to submit form via PHP
On Mon, 29 Sep 2008 11:33:41 -0500, Richard Lynch wrote:
> Actually, I believe action="" submitting to the same URL is *documented* HTTP
> spec behavior.
>
> I welcome correction/confirmation if somebody wants to wade through the docs
> again...
HTML 4.01 says:
action = uri [CT]
This attribute specifies a form processing agent. User agent
behavior for a value other than an HTTP URI is undefined.
The "uri" is a reference to RFC 2396, which says:
4.2. Same-document References
A URI reference that does not contain a URI is a reference to the
current document. In other words, an empty URI reference within a
document is interpreted as a reference to the start of that document,
[For some reason, the syntax does not allow empty URI
references. However, RFC 2396 has been obsoleted by
RFC 3986 which /does/ allow empty URI references.]
[And yes, the HTML spec should probably refer to URI
*references* rather than URIs...]
On the other hand, I seem to recall that it has been
rumoured that some have claimed that browser support
for empty action attribute is (or was) patchy.
I don't know.
/Nisse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_______________________________________________________
The information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial use of the individual or entity to which it is
addressed and may contain information that is propri-
etary and confidential. If you are not the intended
recipient of this message you are hereby notified that
any review, dissemination, distribution or copying of
this message is strictly prohibited. This communica-
tion is for information purposes only and should not
be regarded as an offer to sell or as a solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be secure or error-
free. P6070214
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php