Bug #18236: EXACT HTTP POST data access
| From: | foobardotcom at poczta dot onet dot pl | Date: | Tue, 09 Jul 2002 06:54:05 +0000 |
| Subject: | Bug #18236: EXACT HTTP POST data access | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13572@lists.php.net to get a copy of this message | ||
From: foobardotcom@poczta.onet.pl
Operating system: Linux cyberhq 2.4.19-pre6 #2 SMP
PHP version: 4.2.1
PHP Bug Type: Feature/Change Request
Bug description: EXACT HTTP POST data access
Hello! Plase, *** excuse my english first ***
HTTP request looks like that (everything in single quotes for showing
where are whitespaces - as you see, it has last newline character):
'POST /test.php HTTP/1.0
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
m=1&m=2&m=3
'
Script looks like that:
<?php
header("Content-type: text/plain");
echo "got request: `" . get_request_data() . "'";
?>
and script should generate output like that:
got request: `POST /test.php HTTP/1.0
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
m=1&m=2&m=3
'
I just want to make possible query-string parsing, even if POST method is
used, because all people today have to use `arr[]' name in select multiple
forms especially for PHP... I want to make possible PHP behave correct on
select multiple even if method isn't GET (query string in GET method can
be parsed manually).
I think, PHP should make access to everything low-level and make possible
writting low-level based libraries for people like me - purists :)
--
Edit bug report at http://bugs.php.net/?id=18236&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18236&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18236&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18236&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18236&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18236&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18236&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18236&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18236&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18236&r=globals