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 this to the

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: .$encodeddata); echo

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 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

[PHP] Displaying image from MySql DB

2002-02-22 Thread Mullin, Reginald
Hi Guys, I have some images stored in my MySql database that I'd like to display on the bottom of my HTML page. However, whenever I attempt to display the images using the follow code: $getPhoto = mysql_fetch_object($result); $Type = $getPhoto-type; Header(Content-type: $Type); $Body =