I want an upload form similar to [url]http://easy-share.com/[/url] , just where you can upload multiple file, and it generates a random URL (so more than one name don’t appear several times), and displays the URL when the upload is complete. and maybe a progress bar.
@invisionJan 24.2008 — #This is fairly easy to do, if you look around for scripts or tutorials online. Generating a random page name, file name again is very easy.
@abedhauthorJan 24.2008 — #This is fairly easy to do, if you look around for scripts or tutorials online. Generating a random page name, file name again is very easy.
You'd need to also implement some way of making sure you don't overwrite files that are already in your upload dir!
For example...many people have pictures on their computers with similar file names such as 'mypicture.jpg' or 'PB122210340.JPG' etc...
I usually make a dir in my upload dir and I name it using the hash of some random data based on the file itself...and assure the dir is always unique. This way, the files won't get overwritten.