Re: HTTP_RAW_POST_DATA
| From: | Chris Shiflett | Date: | Fri, 14 May 2004 02:53:51 +0000 |
| Subject: | Re: HTTP_RAW_POST_DATA | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186194@lists.php.net to get a copy of this message | ||
--- Marek Kilimajer <kilimajer@webglobe.sk> wrote:
> PHP must read the whole post stream to create $_POST and
> $HTTP_POST_VARS arrays, and to save file uploads into a temporary
> files. This happens before the script is executed.
Well, there are other scenarios:
POST /path/to/script.php HTTP/1.1
Host: example.org
Content-Type: shiflett
Content-Length: 384975438975438753495734957
dshgjkdfhgkldfjhgklsfjdhgkdfjhgksjdfhgjdfkghsdfjkg...
:-)
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/