TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:228] LDAP/PHP3



Nick,

What does the surrounding code look like? How is the picture being
presented to the browser? I don't know if I can help, but I think that
kind info would be useful in tracking down the problem.

This is the kind of header information a browser expects to see with a
JPEG:
 
Date: Thu, 06 Apr 2000 21:59:25 GMT
Server: Apache/1.3.12 (Unix)
Last-Modified: Fri, 05 Feb 1999 20:08:29 GMT
ETag: "238f9f-f07-36bb4fbd"
Accept-Ranges: bytes
Content-Length: 3847
Connection: close
Content-Type: image/jpeg

JFIF``C(#(#!#-...

so it shouldn't be displayed inline, but that might not be the problem
at all. HTH,

Troy

Nick.T.Reinking@supervalu.com wrote:
> 
> I've tried doing that with bin64_decode and fwrite,
> but it seems to have lost something, as the browsers
> can't read the file.
> 
> Nick Reinking
> 
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-devel-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-devel-help@mn-linux.org

-- 
	<a href="http://umn.edu/~john1536">Troy Johnson</a>

"Those who make peaceful revolution impossible 
will make violent revolution inevitable."
	-- John F. Kennedy