View Single Post

  #1 (permalink)  
Old 17-12-2007, 08:29 PM
Mr. Pot Noodle Mr. Pot Noodle is offline
Frontpage User
 
Join Date: Dec 2007
Posts: 3
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Mr. Pot Noodle will become famous soon enough
Smile Allowing users to upload images to site

Hey everyone just newly registered here after a few months of lurking . I'm just wondering how you all deal with allowing users to upload photos to your site. My main questions being:

How do you stop users uploading incorrect files eg. exe's instead of jpg's etc?
Do you allow them upload it straight to a Db or just the link to it in the Db?
Do you have a function to rename the images so they can be displayed on your site?

Hopefully not a stupid question

Thanks.
Reply With Quote