How to disable PHP's POST caching?
| From: | Adam Zey | Date: | Tue, 23 May 2006 19:51:51 +0000 |
| Subject: | How to disable PHP's POST caching? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-236743@lists.php.net to get a copy of this message | ||
PHP seems to cache POST data, and waits for the entire POST to finish sending before it makes it available to php://input.
I'd like to be able to read the post data from php://input while the client is still uploading it. How can I cause PHP to make the POST data available right away instead of after the client finishes sending?
Regards, Adam Zey.
PS: As far as I can tell, PHP caches the entire POST in memory as it is being sent, but just doesn't make it available to php://input until after the client is done. Since PHP already has it in memory, why isn't it accessible?