Re: [PHP] How to set Content-type text/plain

2010-03-26 Thread Guus Ellenkamp
Sorry, my mistake... Never trapped a computer on this kind of mistakes. I never arrived at those lines hehehehe. Sorry. Robert, thanks, you brought the idea to check further. "Robert Cummings" wrote in message news:4bacba3f.6050...@interjinn.com... > Guus Ellenkamp wrote: >> I have the followi

Re: [PHP] How to set Content-type text/plain

2010-03-26 Thread Robert Cummings
Guus Ellenkamp wrote: I have the following lines in my PHP code: header('Content-type: text/plain; charset=utf-8'); echo 'Invalid command'; However, the output is: HTTP/1.1 200 OK Date: Fri, 26 Mar 2010 13:30:08 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Set-Cookie: h