Page 1 of 1

Php upload images to Microsoft Sql and download to browser

Posted: Tue Apr 24, 2007 8:42 am
by Guetto
hello i´m new at this things of forums but i really need some help so my problem is this:

I want to put an image in my DB that is Microsoft sql, i have already put the image encoded in DB but it always lose information because its too big... then i tried to put the field where the image goes in DB as IMAGE variable but then i cant show the image... i realy dont know what to do :(

if anyone could healp me i realy need...

thx

Posted: Tue Apr 24, 2007 8:45 am
by feyd
Store the images in the file system, their intended location. Store a reference to their name/location in the database.

Posted: Tue Apr 24, 2007 9:49 am
by pickle
Ya - store the images in the filesystem. Storing them in the database raises a number of code & speed issues that aren't necessary.