View Full Version : Uploading pictures
shred444
June 14th, 2001, 16:02
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?
Cheap Bastard
June 15th, 2001, 01:48
... it's possible to put images in a database?
(or are you talking about the URLs of those images)
shred444
June 15th, 2001, 05:42
Yea, from their harddrive. Just like the bottom of this forum when you try to post. It asks for an image url. Same thing
lucifer
June 15th, 2001, 05:48
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.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.