Decoding form post data
Posted: Fri Jun 12, 2009 1:20 pm
Hi,
I'm using php://input to read incoming form data and would just like to know if there's a built-in way to decode the incoming data on the fly before I start writing my own parser. I can't use $_FILES[] due to the size of the incoming data and the fact that I have to run some processes on the data.
I accept incoming post data from another source which is not encoded and I can process it fine but I now have to be able to accept files posted from HTML forms and run the same process on the data.
Is there any simple way to decode the incoming form into fields/file data as I go?
Thanks.
I'm using php://input to read incoming form data and would just like to know if there's a built-in way to decode the incoming data on the fly before I start writing my own parser. I can't use $_FILES[] due to the size of the incoming data and the fact that I have to run some processes on the data.
I accept incoming post data from another source which is not encoded and I can process it fine but I now have to be able to accept files posted from HTML forms and run the same process on the data.
Is there any simple way to decode the incoming form into fields/file data as I go?
Thanks.