Re: How to "download" a multi-part file at the "server" side?
| From: | Ajay Garg | Date: | Sat, 02 Nov 2013 13:43:28 +0000 |
| Subject: | Re: How to "download" a multi-part file at the "server" side? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322408@lists.php.net to get a copy of this message | ||
Does not work :(
As per the code-snippet I pasted,
$_FILES["userfile"]["name"]
should be
/path/to/png/file.png
However, $_FILES["userfile"]["name"] is empty.
On Sat, Nov 2, 2013 at 6:59 PM, Shawn McKenzie <shawn@mckenzies.net> wrote:
> Fairly easy:
>
> http://www.php.net/manual/en/features.file-upload.post-method.php
>
>
> On Sat, Nov 2, 2013 at 7:36 AM, Ajay Garg <ajaygargnsit@gmail.com> wrote:
>
>> Hi all.
>>
>> I intend to implement a use-case, wherein the client uploads a file in
>> multi-part format, and the server then stores the file in a mysql database
>> (after "downloading it at the server side).
>>
>> I have been unable to find any immediate answers through googling; I will
>> be grateful if someone could start me in a direction to achieve the
>> "downloading at server via php" requirement.
>>
>> (Don't think it should matter, but I use Java to upload a file in
>> multi-part format).
>>
>> I will be grateful for some pointers.
>>
>> Thanks in advance
>>
>>
>> Thanks and Regards,
>> Ajay
>>
>
>
--
Regards,
Ajay