hareldo wrote:
hi,
i wrote a code that open a picture and store it in a string.
then its save the base_64 of this string in a jpeg file and then i can
show this picture.
but i want to show this picture without save it.
how can i do this??
First of all, a jpeg is not base_64 encoded. You may give the file a
..jpeg extension, but it is not a jpeg file.
You need to have an <img...statement in your HTML, and instead of
loading the image directly you need to call a PHP script. The script
will then create the image and display it, (with the correct content
type set in the header).
http://www.google.com/search?q=php+image&btnG=Search
Should get you started on some tutorials on how to use the gd functions.
See especially the third one down (from zend). A little verbose with
too few examples, imho, but quite detailed and accurate.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================