I am working on my site http://www.zumbalo.com and is like a Digg.com site but I want to instead of making it news I wan't to make it a media site...
The problem is. I don't know how to make a simple upload script that will work as an attachment script for video, image, and documents upload so they users can enjoy media.
What I need to know:
How can I make the upload script with...
- Restricted file extensions. I only want avi, wmv, mpeg, mpg, jpg, png, gif, bmp, pdf, doc.
Make it able to detech which file was uploaded and output the right player for it. (Img, the img src, and videos de embed src)
Make it so that I can delete, edit the files in the admin.
Work with MySQL.