Re: Warning: Cannot modify header information - headers already sent my (output started at ...



On Wed, 30 Nov 2005 23:23:49 +0100, Peter van Schie wrote:

> Ian Rutgers wrote:
>> 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!!!
>
> Hi Ian,
>
> That or anything else that sends out header information, like a
> session_start call or another header call.
>
> HTH.
> Peter.

or to be a little more specific, any output to the browser at all. The
headers have to be the first thing sent out.

Paul
.



Relevant Pages

  • using ~ (virtual path) with images
    ... I made a header control in asp.net and it references images in the /images/ ... folder in the virtural path's root folder... ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Warning: Cannot modify header information - headers already sent my (output started at ...
    ... Ian Rutgers wrote: ... can read the images in the folder but when I try to use the <? ... HTH. ...
    (alt.php)
  • Re: viewing in Firefox requesting Authentication, trying to rerout
    ... - open html folder and replace the previous index.htm file (yes, ... don't understand is how Publisher is writing that code. ... Are you inserting a code fragment to import your images or just inserting ... Be sure to compress your graphics before you upload again. ...
    (microsoft.public.publisher.webdesign)
  • Re: Pages not uploading
    ... Do the images now load on your home page? ... Publisher, and write the links yet once again. ... folder on your C drive where you directed your HTML output when you Publish ... index.htm file and the index_files folder from your webspace, and upload the ...
    (microsoft.public.publisher.webdesign)
  • RE: Images are disapearing
    ... What version of Publisher is being used? ... Version 2003 will create an "index_files" folder if using the subfolder ... These images you speak of, ... Picture Manager was introduced in version 2003 of Office so I guess I can ...
    (microsoft.public.publisher.webdesign)