$_GET & $_POST simultaneously
| From: | Bostjan Skufca @ domenca.com | Date: | Tue, 11 Jan 2005 08:42:37 +0000 |
| Subject: | $_GET & $_POST simultaneously | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-206059@lists.php.net to get a copy of this message | ||
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" />
...
both arrays contain appropriate variables when submitted:
::: $_GET :::
Array
(
[a] => b
)
::: $_POST :::
Array
(
[action] => 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?
Thank your for your answers,
Bostjan