php shell script probleem

mijn php shell scriptje genereert nu op mijn nieuwe machine als eerste 2 regels;
Content-type: text/html
X-Powered-By: PHP/4.3.9

Nu werkt daardoor mijn mrtg scripts niet goed.. hoe kan ik ervoor zorgen dat er alleen maar plain ascii data wat het script moet uitvoeren wordt getoont en geen headers meer?

2 thoughts on “php shell script probleem

  1. mark says:

    Gevonden via
    Misschien dat je er iets aan hebt.

    Unlike the CGI SAPI, no headers are written to the output.

    Though the CGI SAPI provides a way to suppress HTTP headers, there’s no equivalent switch to enable them in the CLI SAPI.

    CLI is started up in quiet mode by default, though the -q and –no-header switches are kept for compatibility so that you can use older CGI scripts.

    It does not change the working directory to that of the script. (-C and –no-chdir switches kept for compatibility)

    Plain text error messages (no HTML formatting).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.