Headers problem on the PHP4.0.2 CGI

From: Date: Mon, 04 Sep 2000 11:15:08 +0000
Subject: Headers problem on the PHP4.0.2 CGI
Groups: php.general 
Request: Send a blank email to php-general+get-15095@lists.php.net to get a copy of this message
Hi all, I've installed PHP4.0.2 as a CGI because i needed to read/write files outside the nobody permissions. My script "a" may look like: #!/usr/local/bin/php <?php echo "Hello world!"; ?> but, every time I run it, even from a web page as a SSI or from a module_php page, it returns: ********** X-Powered-By: PHP/4.0.2 Content-type: text/html Hello world! ******** What if i DO NOT WANT the headers? I'm even thinking about recompiling the sources and erasing those two lines, but is there a way to do it more... elegantly? Something to pass to the php, some command or some config setting??? Thank you in advance, Duccio.

« previous php.general (#15095) next »