On Tuesday 02 November 2004 03:36, P. George wrote: > i know that postgres has a raw binary datatype called bytea for storing > pictures and whatnot, but i'm having trouble finding an example of > displaying an image on a web page with php that is pulled directly from > the database? > > is this possible? Yes. > if so, how? Tutorials that shows how to upload and store image/binary files in a database also usually shows how to retrieve them (and in the case of images, also how to display them). One function you'll find useful is imagecreatefromstring() -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ /* There are a lot of lies going around.... and half of them are true. -- Winston Churchill */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php