Koutsogiannopoulos Karolos wrote:
>Hello Again everyone...
>
>My question is simple...
>
>I have images submited IN my mysql Database.
>What i want is when i display them and i right click on them and choose save
>picture as i can get the name of the
>picture from the DB and not have to insert it my self.
>Does anyone now how can i do that with a file that comes from a db???
>
>thanks
>_______________________
>PGP KEY ID: 0xA86600E9
>_______________________
>
You have store in the DB also the original file name,
I assume you store the image using a BLOB field, so
when you store the image in that field it does not
retain the name of the file.
I made somth. like this once and used a php script
as a "image" target to retreieve the image with it's
original name and type (.gif, .jpg, .png etc).
regards,
mitu
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]