Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
/Peo, FreeWebSpace.net
b) put the image on your server and the url of that image in the database
you could do either but the second is proberbly better - images wouldn't need to be on your server you could put them anywhere
it's easy to do (in php anyhow - but perl is cool so it'll do it too) - when the user uploads a file to the server it is stored temporarily there. you need to check it's a valid format move it to where you store it - renaming it if needed then add this new url to the db.