perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kee Hinckley <naz...@somewhere.com>
Subject Re: blob data type and embperl
Date Sat, 03 May 2003 21:08:52 GMT
At 10:22 AM +0000 4/30/03, Gerardo Schimpf wrote:
>I have one question. I have a mysql table with a blob data type column and
>pictures stores in that column. How can I display a picture from the database
>on a HTML page using embperl?

<img src="/showimage.epl?id=xxx">

[# showimage.epl #][- do query and spit out image, being careful not 
put newlines in the file before the code -]
-- 
Kee Hinckley
http://www.messagefire.com/          Junk-Free Email Filtering
http://commons.somewhere.com/buzz/   Writings on Technology and Society

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message