RE: [PHP-DB] Upload multiple files?
by Aaron Wolski other posts by this author
Aug 29 2003 9:41PM messages near this date
Re: [PHP-DB] Upload multiple files?
|
Re: [PHP-DB] Upload multiple files?
Well...
Having never done this I would assume it's the same with and form field
you want to use as an array (multiple selections).
Create a few different fileselect fields all with the same name but
adding in [] to make it an array.
Then just loop through the array.. copying the file to the server and
the filename info to the DB.
Rather simplistic I know but it's a solution.
HTH
Aaron
> -----Original Message-----
> From: Chris Payne [mailto:chris@[...].com]
> Sent: August 29, 2003 5:38 PM
> To: php
> Subject: [PHP-DB] Upload multiple files?
>
> Hi there everyone,
>
> I have created a newsletter system where you can do lots of nice
things,
> one of the things is to be able to upload your images for the
newsletter
> via the interface, unfortunately you have to do them 1 at a time. Is
it
> possible to be able to select multiple images in 1 go?
>
> The image info is stored in a DB and the images themselves are on the
> server, this way I can do lots of nice things to manage the images
that
> have been uploaded without having to access the filesystem too much (I
> love PHP and MySQL, makes it so easy).
>
> Thanks everyone.
>
> Chris
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Chris Payne
Aaron Wolski
Chris Payne
Aaron Wolski
|