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

Antti.Roppola@brs.gov.au Antti.Roppola@brs.gov.au
Wed, 26 Mar 2003 17:00:33 +1100


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

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users