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 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 will matter when I am extracting the exact
> file from the POST request .
> 
> Again, how would I extract the exact file ??????
> 
> Would appreciate any pointers or someone giving me some headstart .
> 
> Thanks and Regards,
> -Saswat
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
------- End of Original Message -------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to