I would like to create an upload script. The script would let you browse for files (mp3's, tar.gz's) on the hard drive. When you select a file, it sends the name of the file, and creates a url for it (ie http://www.foo.com/downloads/foo.tar.gz)or http://www.foo.com/downloads/foo.mp3, depending on what file you are uploading into the mysql database. How would I go about writing this code? can someone point me in the right direction?