hassan ali, Two things. Please, if you are going to post code (especially a lot of code) to the forums, use UBB Code tags. Nobody wants to read large dumps of unformatted code. I've added them to your post for you.
Also, the original poster wasn't asking how to parse an entire multi part upload himself. He was asking about retrieving form parameters. Most of us are using third party libraries for handling mulipart uploads these days.
Out of curiosity, why are you doing this yourself?