Re: handling file upload (OT not exactly PHP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you try using the $_FILES superglobal?




---------- Original Message -----------
From: Saswat Praharaj <saswat@xxxxxxxxx>
To: 
Sent: Wed, 20 Apr 2005 18:26:14 +0530
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux