Wednesday, May 23, 2012

How to get rid of 'Content-type: text/html' in PHP script output?

I am running a PHP script as a cron job. An email is fired iff the script generates an output. Unfortunately, even if it does not output anything, an email is fired with:

Content-type: text/html

How can I get rid of this automatic Content-type: text/html generation triggering an email?

No comments:

Post a Comment