Getting image data as a variable
The problem lies in that I want to use database explicity for putting up
images on a blogsite (i don't want to use the filesystem what-so-ever)
(mostly to save myself from having issues with duplicate filenames, and
when I delete one, both goes.)
Image is loaded via a web-form, and are to be resized. Currently I save
the images on a folder which everyone has write and execution-access to.
Images are resized via the imagecreatetruecolor() and
imagecopyresampled(), and then written to the filesystem. After that
read into variables, which in their turn is written into the database.
Is there any way for me the skip the filesystem-bit?
Help much appriciated.
//Gnutt
|