Re: [PHP-DB] upload multiple files and rename wih time()

2010-02-07 Thread Chris
Emiliano Boragina wrote: Hello php fellows, I have two codes to upload multiple files, works very well, but I cant rename the files... really i dont know... The code looks ok. Do you get an error message? If not, turn up error_reporting and enable display_errors: error_reporting(E_ALL);

Re: [PHP-DB] Upload multiple files?

2003-08-29 Thread colbey
Very simple... Call you files being uplaoded file1, file2, fileX in the HTML form.. [html] [/html] Then process with code like this: [code] $STARTFILE = 1; $ONFILE = "file" . $STARTFILE; while (isset($HTTP_POST_FILES["$ONFILE"])) { // Try! $SrcPathFile = $HTTP_POST_FILES["$ONFILE"]

RE: [PHP-DB] Upload multiple files?

2003-08-29 Thread Aaron Wolski
x27;s that! You got options. Just a matter of how much time you wanna invest ;) Aaron > -Original Message- > From: Chris Payne [mailto:[EMAIL PROTECTED] > Sent: August 29, 2003 5:45 PM > To: php > Subject: Re: [PHP-DB] Upload multiple files? > > Hi there, > > Um

Re: [PHP-DB] Upload multiple files?

2003-08-29 Thread Chris Payne
Hi there, U 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 o

RE: [PHP-DB] Upload multiple files?

2003-08-29 Thread Aaron Wolski
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 serv