ID:               25231
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tim at zero-interactive dot com
 Status:           Bogus
 Bug Type:         Variables related
 Operating System: Win2K Pro
-PHP Version:      4.3.2
+PHP Version:      4.3.3
 New Comment:

I missed the part where Ilia asked to try the snapshot. And you failed
to update the last version too. :-p

Anyway, it's a feature that you can get both POST and GET in same
request, get over it.



Previous Comments:
------------------------------------------------------------------------

[2003-08-25 20:37:01] tim at zero-interactive dot com

What's the point in testing it with 4.3.3?  The behaviour is the same
for 4.3.2 and 4.3.4-dev (previously recommended by Ilia).

You guys obviously aren't going to change anything regardless of what I
say or attempt to prove to you.  You definitely dont seemed to be
concerned with justifying to me why this behaviour is correct either or
how the documentation and php are considered correct yet they
conflict.

I've followed the rules are far as what to submit and how to submit it.
 I've also justified my reasons with physical test results, data
captures etc.  As far as I'm concerned, marking something as bogus and
just stating its right over and over again when evidence to the
contrary is in front of you is wrong.

If you can give me a good reason as to why this behaviour is considered
correct and how the docs and php are both considered correct on this
issue I will drop this immediately.

I appreciate the fact that you guys are volunteers on this project, but
the better the answer you supply to us, especially when we've tried our
best to supply you with data, can only result in less duplication in
future and maybe less reports relating to so called undocumented
features.  A simple explanation the first time would have stopped me
from replying and dragging this out.

------------------------------------------------------------------------

[2003-08-25 20:20:52] [EMAIL PROTECTED]

You should also try with PHP 4.3.3 which was released today (yesterday
for some). Neither PHP/documentation is wrong.


------------------------------------------------------------------------

[2003-08-25 19:37:12] tim at zero-interactive dot com

No need to get nasty.  I wasn't asking for help, was only reporting
behaviour which I believe to be incorrect (which is what this site
exists for).  If you say its a feature, then fine, I'll take your word
for it even though none of you have bothered to explain why it is
correct.

Your "feature" is however inconsistent in the way that it works.  If I
change the form method to GET instead of POST, then I only get some of
the information sent back in the GET array.  Namely, only the data in
the input fields in the form and not the data in the query part of the
action uri.

If you have no intention of fixing what I believe to be wrong, then at
the very least change the documentation in the manual to reflect this
undocumented (that I know of) feature:

Except from online manual (Predefined variables page):
$_GET
Variables provided to the script via HTTP GET. Analogous to the old
$HTTP_GET_VARS array (which is still available, but deprecated). 

$_POST
Variables provided to the script via HTTP POST. Analogous to the old
$HTTP_POST_VARS array (which is still available, but deprecated). 


You will note that it says "provided to the script via HTTP GET".  I
just proved to you that you can get data in the $_GET array with a HTTP
POST as demonstrated by the headers I captured.  This means that either
the engine is wrong or the documentation is wrong.  Which one is it?

------------------------------------------------------------------------

[2003-08-25 18:59:43] [EMAIL PROTECTED]

This is called FEATURE..it's definately NOT bug.
Please ask support questions elsewhere..


------------------------------------------------------------------------

[2003-08-25 18:54:16] tim at zero-interactive dot com

I dont understand how this can be correct behaviour.  There is never a
GET header sent with the request, so this means that the $_GET array
should not be populated.  If you have a close look at the HTTP headers
that I've captured, there is only a POST request header sent and not a
GET request header.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25231

-- 
Edit this bug report at http://bugs.php.net/?id=25231&edit=1

Reply via email to