Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
New ideas #1
Multiple file Upload
I am trying to upload multiple images using file upload, which is the easy part the hard part is putting the different file names into a DB.. can anyone help
New ideas Guest
-
How to upload a file to 2 FTP sites without an upload component for company
Hi All I can't get round this because it's a local government thing, but I've done a CMS for a school (in ASP classic) that allows them to upload... -
Upload Friendly (Multiple File Upload Applet)
Title : Upload Friendly (Multiple File Upload Applet) Description : UploadFriendly is an easy to use Java Applet that will allow multiple file... -
Multiple file upload at same time...
Hi, I have an 'add photo' page, with a form on it, which when submitted takes you to a confirmation screen on which the cffile upload script is run... -
Can you upload multiple files on one page using the FILE field?
When using a form to upload a file using the BROWSE functionality, can one send multiple files from one page? My recollection is no, you can't. I'm... -
multiple requests simultaineously, file upload
Hi, i'm new to php but i'm a bit familiar with servlet etc. I have 2 questions: - when a php site s browsed by many users at the same time,... -
Stressed_Simon #2
Re: Multiple file Upload
Why don't you rename the files using cffile and CreateUUID and then inset it into your database using cfquery?
Stressed_Simon Guest
-
-
Stressed_Simon #4
Re: Multiple file Upload
OK when you uploaded the file using <cffile action="upload"....... yoy gave it
a file name, right?
Use <cfset UniqueName = CreateUUID() & "FileExtension"> as this creates a
unique reference so you don't copy over anything else.
Then use <cffile action="rename"..............
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p34.htm#wp1098668[/url]
to rename the file to the UniqueName variable.
Now you can use <cfquery> to upload that file name into your database. Does
that make sense?
Stressed_Simon Guest



Reply With Quote

