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@xxxxxxxxxxxxx> 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@xxxxxxxxx> 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