NYCPHP Meetup

NYPHP.org

[nycphp-talk] File upload choices

csnyder chsnyder at gmail.com
Fri May 18 16:25:59 EDT 2007


On 5/18/07, Jon Baer <jonbaer at jonbaer.com> wrote:
> SWFUpload works pretty well ...
>
> http://swfupload.mammon.se/
>
> - Jon
>

Seconded.

You need to move the uploaded files into more permanent storage with
each backgroup request made by SWFUpload, because PHP will delete the
uploaded files if you don't move them. Store the file's locations in
the user's session.

Then when the containing form is submitted, you can check for any
stored files in $_SESSION and process them all together at once along
with the rest of the form data.

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list