|
Posted by Curt Zirzow on 10/03/78 11:05
* Thus wrote Bostjan Skufca @ domenca.com:
> Hello,
>
> If I create form like this
> <form name="form" action="##_URI_ROOT##/entity/edit.php?a=b" method="post">
> <input type="hidden" name="action" value="modify" />
> ...
> Now what I am interested in is if this is valid behaviour regarding HTTP
> specification and if other platforms support this interference of GET and
> POST variables in request?
Well the action should tell the browser to request:
POST /root/entity/edit.php?a=b
And supply the appropiate data to be posted.
if the browser does do this then it is up to php to populate the
GET and POST varibles, and if memory server me right, this has been
done since early php3.
Now as to wether the client support's passing the full action URI's
to the server, i've only had issues with early version's of IE4.
Basically the only difference between a GET and POST is a POST has
extra data that is sent, besides some minor issues like what when
and how to cache post form.
HTH,
Curt
--
Quoth the Raven, "Nevermore."
Navigation:
[Reply to this message]
|