Axel Richter: POST Formular mit GET Parameter

Beitrag lesen

Hallo,

<form action="script.pl?param1=5&amp;param2=1" method="POST">
<input type="text" name="t1" value="" size="50" maxlength="50">
<input type="submit" name="ok" value="OK">
</form>
dann hast Du den POST+GET erfunden!   ;-)

Nein, es ist ein POST-Request mit query-Teil in der Request-URI.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1
...
Request-Line   = Method SP Request-URI SP HTTP-Version CRLF
...
http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.2
...
Request-URI    = "*" | absoluteURI | abs_path | authority
...
http://www.ietf.org/rfc/rfc2396.txt
...
3.4. Query Component

The query component is a string of information to be interpreted by
   the resource.

query         = *uric

Within a query component, the characters ";", "/", "?", ":", "@",
   "&", "=", "+", ",", and "$" are reserved.
...

viele Grüße

Axel