ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-db
php-db
Re: [PHP-DB] Upload multiple files?
by Chris Payne other posts by this author
Aug 29 2003 9:45PM messages near this date
RE: [PHP-DB] Upload multiple files? | RE: [PHP-DB] Upload multiple files?
Hi there,

Ummmm you know what they say, keep it simple and you're probably right you
know, I was thinking it would be more complex but i'll have a play with that
idea (Isn't it amazing how sometime we try to make things harder for
ourselves than they need be?).

Thanks for pointing that solution out, it SHOULD work :-)

Chris

>  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
> 
> 

-- 
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved