command line output
| From: | Bryan Koschmann - GKT | Date: | Tue, 10 Dec 2002 19:30:23 +0000 |
| Subject: | command line output | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127705@lists.php.net to get a copy of this message | ||
Hello,
I'm trying out a little script run from the command line. It simply
outputs a number to send to Cacti. Is there any way to get it to NOT send
all the stuff like this:
X-Powered-By: PHP/4.2.3
Set-Cookie: PHPSESSID=ec0e2c10c8bd9e0a0ad02cfcc182dbfb; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Content-type: text/html
168
(the 168 is my outputted number)
Thanks,
Bryan