• 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
managed wordpress hosting

Uploading pictures

shred444

New Member
Does anyone know of a perl script that enables users to upload images to a database, and for the database to post it on a specific site?
 
Yea, from their harddrive. Just like the bottom of this forum when you try to post. It asks for an image url. Same thing
 
I think wha cheap bastard is saying is

do you want to

a) put the image in the database (all of it)

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.
 
Back
Top