STORING the IMAGE in DB

admin

Administrator
Staff member
I already asked what kind a field to use for images, but now i have one more problem:

HOW CAN I PUT THE IMAGE IN THE DATABASE, I MEAN..

Using a browser form (that's what I need to do) I suppose I can't simply put a field like <input type="file" name="foto"> and submitting the form putting the $foto in the field foto. Since in this case i will see the locationon my HD of the foto.

So, how can I put THE PHOTO (not the location) in the database???
 
Back
Top