Hi.
I've been using & looking at
http://hostmyfile.net/ for a little bit now.
I plan on starting my own file / image hosting site soon. But I'm not to sure on how this stuff works.
#1 - I've created the upload script. But I don't get how you rename the image after it's been upload. Like on host my file I upload an image to the server. Then it spits out a hostmyfile.net/files/36789.gif ? Hmhm. Any idea's? Maybe mod_rewrite does this.
#2 - When you upload a non image file on host my file it spits out weird a url (like above). Then when you click it. It brings you BACK to the site before you can download it! This I find very important. How is this possible? I assume that it uses mod_rewrite.
#3 - Is it possible to have the upload script insert some information to a database, file name, date, time, size, etc...
#4 - Keeping everything masked so they will never see the real location of the file. That way people can't just hot link to the file, acception for image files. Once again, I assume that mod_rewrite does this.
Thanks in advance for all of your help!
:)