[PHP] handling file upload (OT not exactly PHP)

2005-04-20 Thread Saswat Praharaj
Hello , Need to do handle a file upload done via http POST. I can read the content length and from POST and get the contents. But, how do I get the exact file ?? Eg. suppose for uploading a .doc file I could see that it sends the font type and other parameters also.. I am not sure how does

RE: [PHP] handling file upload (OT not exactly PHP)

2005-04-20 Thread Jay Blanchard
[snip] Need to do handle a file upload done via http POST. I can read the content length and from POST and get the contents. But, how do I get the exact file ?? Eg. suppose for uploading a .doc file I could see that it sends the font type and other parameters also.. I am not sure how does it

Re: [PHP] handling file upload (OT not exactly PHP)

2005-04-20 Thread Prathaban Mookiah
Did you try using the $_FILES superglobal? -- Original Message --- From: Saswat Praharaj [EMAIL PROTECTED] To: Sent: Wed, 20 Apr 2005 18:26:14 +0530 Subject: [PHP] handling file upload (OT not exactly PHP) Hello , Need to do handle a file upload done via http POST. I

Re: [PHP] handling file upload (OT not exactly PHP)

2005-04-20 Thread John Nichel
Saswat Praharaj wrote: Hello , Need to do handle a file upload done via http POST. I can read the content length and from POST and get the contents. But, how do I get the exact file ?? Eg. suppose for uploading a .doc file I could see that it sends the font type and other parameters also.. I