Re: [PHP] displaying image from MySQL DB using HTML/PHP

2007-03-19 Thread Németh Zoltán
2007. 03. 14, szerda keltezéssel 19.30-kor Børge Holen ezt írta: > On Tuesday 13 March 2007 22:09, Tijnema ! wrote: > > On 3/13/07, Bruce Gilbert <[EMAIL PROTECTED]> wrote: > > > On 3/13/07, Tijnema ! <[EMAIL PROTECTED]> wrote: > > > > So you just need to set the content-type and output > > > > add

Re: [PHP] displaying image from MySQL DB using HTML/PHP

2007-03-14 Thread Børge Holen
On Tuesday 13 March 2007 22:09, Tijnema ! wrote: > On 3/13/07, Bruce Gilbert <[EMAIL PROTECTED]> wrote: > > On 3/13/07, Tijnema ! <[EMAIL PROTECTED]> wrote: > > > So you just need to set the content-type and output > > > add this to the bottom of the script: > > > header("Content-Type: ".$encodedda

Re: [PHP] displaying image from MySQL DB using HTML/PHP

2007-03-13 Thread Richard Lynch
On Tue, March 13, 2007 9:07 pm, Jim Lucas wrote: > DON'T USE REQUEST > only use it from where you expect it to be, in this case, $_GET Unless you actually WANT your web application to be flexible and allow other users to have links or POST forms to interface with it... It's not like you can trust

Re: [PHP] displaying image from MySQL DB using HTML/PHP

2007-03-13 Thread Jim Lucas
Bruce Gilbert wrote: I am having some difficulty getting an image to display on a php that I have added to MySQL DB. Here is what I have tried so far in the MySQL DB I have a table called image_holder and the fields are id,mimename,filecontents...filecontents field is set to a type of blob

Re: [PHP] displaying image from MySQL DB using HTML/PHP

2007-03-13 Thread Tijnema !
On 3/13/07, Bruce Gilbert <[EMAIL PROTECTED]> wrote: On 3/13/07, Tijnema ! <[EMAIL PROTECTED]> wrote: > So you just need to set the content-type and output > add this to the bottom of the script: > header("Content-Type: ".$encodeddata); > echo $title; > > If i understand you right. > > Tijnema >

Re: [PHP] displaying image from MySQL DB using HTML/PHP

2007-03-13 Thread Tijnema !
On 3/13/07, Bruce Gilbert <[EMAIL PROTECTED]> wrote: I am having some difficulty getting an image to display on a php that I have added to MySQL DB. Here is what I have tried so far in the MySQL DB I have a table called image_holder and the fields are id,mimename,filecontents...filecontents

[PHP] displaying image from MySQL DB using HTML/PHP

2007-03-13 Thread Bruce Gilbert
I am having some difficulty getting an image to display on a php that I have added to MySQL DB. Here is what I have tried so far in the MySQL DB I have a table called image_holder and the fields are id,mimename,filecontents...filecontents field is set to a type of blob using PHPMyAdmin and I