Sir ,
Iam working on Mysql5.0 version.
Can I store .jpeg or .png or .gif etc imagefiles
in database.
If so where can I get the tutorials or sample code
to insert and retrive the images from mysql
database.
Any help is welcome.
Thanking you ,
Sreedhar
I store .jpeg or .png or .gif etc imagefiles
in database.
If so where can I get the tutorials or sample code
to insert and retrive the images from mysql
database.
Any help is welcome.
Thanking you ,
Sreedhar
__
Do You Yahoo!?
Tired
The most common problem in such cases is that the webserver doesn't know
what MIME Type the file is and so it doesn't know how to send it.
If you are using PHP to upload and later show that image on the web, i
could give you the code for the scripts and the structure of the table
containg the
Hi
The most common problem in such cases is that the webserver doesn't know
what MIME Type the file is and so it doesn't know how to send it.
If you are using PHP to upload and later show that image on the web, i
could give you the code for the scripts and the structure of the table
containg
Checkout: http://php.dreamwerx.net/forums/viewtopic.php?t=6
It's got streaming code..
What I do is if the type is unknown I always send application/octet-stream
and the browser usually identifies it..
Or check the file extension for the file in the database, and apply
content type based on
Dear Friends
I has images saved on an mysql table as an blob field, but i could not
recreate the image as file by selecting an specific record of this field
any ideia
Regards
Luiz
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
... What is
more easy, one select and get image or a connection to download the
image ? The point is this. in my case... the images in sql database is
more comfortable , but is it secure ? you loose data using BLOB fields
? please send me a reply to help me in my decision :)
The suggestion bout ID
( with 100kb ) without problems ( corrupt or fail ) ?
- If is sufficient robust , the speed to join and get images from
database is not slow ( slow for me is 2 seconds )?
- The best solution is store images in files ( ex : c:\images\img00.tif) or
database ?
The responses
images ( with 100kb ) without problems ( corrupt or fail
) ?
- If is sufficient robust , the speed to join and get images from
database is not slow ( slow for me is 2 seconds )?
- The best solution is store images in files ( ex :
c:\images\img00.tif) or database ?
The responses