[Mapserver-users] ArcExplorer 4.0.1 and Mapserver WMS - Wiki page

Antti.Roppola at brs.gov.au Antti.Roppola at brs.gov.au
Wed Mar 26 01:00:33 EST 2003


Daryl Herzmann wrote:

>>3.  The header for the XML document seems to work fine.  I tried adding echo
>>"<h1>hello world</h1>"; then viewing the document in a web browser.  The
>>result is Hello World, then the expected error message similar to:
>>
>>Warning: Cannot add header information - headers already sent by (output
>>started at http://localhost/fawkner_mapserv/wms.php:2) in
>>http://localhost/fawkner_mapserv/wms.php on line 3

>This is a problem.  Are you certain that your php header() call is the 
>first thing that is in your .php file?   If you have an empty line, then 
>that will constitute output and you can't resend headers...

To clarify, I suggested (temporarily) adding an echo to make sure
that the web server and PHP are configured correctly. AFAIK, it was.
Apologies if this confused anyone.

Cheers,

Antti




More information about the mapserver-users mailing list