|
Posted by rush on 10/10/28 11:33
"Ian Rutgers" <irutgers@otima.ca> wrote in message
news:kdpjf.148$Eq5.12@pd7tw1no...
> I am creating a page that will display thumbnails of images in a folder.
I
> can read the images in the folder but when I try to use the <?
> header("Content-type: image/jpeg");?> ... I get the error message as
> detailed in the subject line.
>
> From what I've researched, it has to do with whitespace on that line ...
but
> I don't see any ... help!!!
you must not emit a single byte of html prior to header function, usually it
is a white space but it can be anything thet get to the output. Finding it
is a good excercise, and it known to strenghten character ;)
Alternatively, you could use output buffering functions to make sure nothing
goes out untill you want it to.
rush
--
http://www.templatetamer.com/
http://www.folderscavenger.com/
Navigation:
[Reply to this message]
|