PDA

View Full Version : Script that adds name of file to page when file is uploaded...



aLeXc
January 7th, 2001, 18:21
Hi there!

I've got an upload script that lets users upload their files into a folder of my website. However, how would I make it so when they do upload a file, details of the file (e.g. name, size, date etc...) are then added to a list of the latest uploads on my front page? Can I download a script for this or is it quite complicated?

Thanks

Alex

Nick
January 7th, 2001, 19:40
You should get a link database similar to the one at Gossamer Threads (http://www.gossamer-threads.com/) and set it up. Once you're done, find a script that uploads the file, and on the upload form have a cookie that saves the url to the file and then the next page (link db entry form) uses the cookie to auto select the address and the users can fill out that form. That should work. You'll need someone to help you with the cookies (not me) if you don't know how to make them.