Hi there,
I,m a newby on this stuff, so...
I,ve got the "images in database script" from Florian working. The image you are uploading is being stored in the database as binary data. So far so good.
But when you have nothing to upload, it gives an error.
Is it possible to give an "if" statement to overcome this behaviour and more important how does this piece of code must look like...
This is a fragment of the code being used to upload:
$data = addslashes(fread(fopen($form_data, "r"), filesize($form_data)));
Ideas ?
Greetz,
Fox