Re: [PHP] displaying image from blog

2005-10-07 Thread Richard Lynch
On Tue, October 4, 2005 12:07 pm, blackwater dev wrote: > I am querying a MSSQL db where an jpg image is stored as a blog. > > I have this code: > > > > I don't think you can use Content-type for this purpose... Or, at least, I wouldn't expect browsers to be reliable in doing it. It MIGHT be

RE: [PHP] displaying image from blog

2005-10-04 Thread Jay Blanchard
[snip] > On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote: > > I am querying a MSSQL db where an jpg image is stored as a blog. > > But when viewed I just get all the junk code: > > > > !1AQaq"2B'¡±Á #3RðbrÑ > > $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š'""•–—˜™š

Re: [PHP] displaying image from blog

2005-10-04 Thread blackwater dev
It doesn't appear that gd is installed by my host as that function throws undefined function errors and I don't see gd when I do phpinfo(); On 10/4/05, Michael Crute <[EMAIL PROTECTED]> wrote: > On 10/4/05, blackwater dev <[EMAIL PROTECTED]> wrote: > > I am querying a MSSQL db where an jpg image i