Reply to Re: [PHP] $_GET & $_POST simultaneously

Your name:

Reply:


Posted by Curt Zirzow on 10/04/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."

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация