Jason Paschal posted this link a while ago, regarding storing and retriving images from MySQL:
http://www.dailymedication.com/modules.php?name=Forums&file=viewtopic&t= 15 -TG > -----Original Message----- > From: Ed Lazor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 14, 2004 8:44 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Image question > > > Oop... spoke too soon. I was able to store the image into > the database, but > now I can't pull it back out and manipulate it with the gd > image functions. > Instead of using the imagejpeg function, I can just echo the > field and the > image will display in a browser window. How do I restore the > data from the > database in a way that I can continue to manipulate it with the image > functions, like imagejpeg($data)? > > Thanks, > > Ed > > > > -----Original Message----- > > From: Ed Lazor [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 14, 2004 5:20 PM > > To: 'Jason Wong'; [EMAIL PROTECTED] > > Subject: RE: [PHP] Image question > > > > Got it. Thanks Jason. > > > > > -----Original Message----- > > > > Imagejpeg($im); // successfully displays image > > > > > > Use the ob_*() functions to capture the output. See archives for > > details. > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php