Hi,
Does anyone know how to disable the HTTP headers sent by PHP?
I want to do this because I'm running the php binary in the command line (in Linux/unix) and I don't want the Content-type and X-Support headers to be printed by the php.
Basically, when I write a script for the command line such as:
#!/usr/local/bin/php
<?php
print "Testing php";
?>
I get this output:
X-Powered-By: PHP/4.0.4pl1
Content-type: text/html
Testing php
Is there any way I can disable those default headers?
thanks,
-sridhar