+SHow Image from DataBase

From: Date: Sat, 08 Jul 2000 21:06:03 +0000
Subject: +SHow Image from DataBase
Groups: php.general 
Request: Send a blank email to php-general+get-5567@lists.php.net to get a copy of this message
Yes, I know maybe someone asked this first, and the answer was to: LOAD INTO DUMPFILE 'pic name' and then retrieve the file from PHP But , isn't there a way for PHP, to echo the Binary stuff directly to the browser instead of making the Picture first exist in a file ? something like: <IMG SRC='showpic.php?$pic'> And showpic.php make the Select stuff from the DataBase in Binary Mode, and dunpit directly to the browser, will this work ? I don't think so... DO I have to send any header or something to the browser ? thanks in advance.. -- ---------------------------------- Yurais Fernández Leal MediRed Network SysAdmin. yurais@medired.scu.sld.cu http://www.scu.sld.cu/ ICQ: 33792610 ICQ-GW: 1031 Phone: (53) 226-54204 ------------

« previous php.general (#5567) next »