Re: command line output

From: Date: Tue, 10 Dec 2002 19:36:14 +0000
Subject: Re: command line output
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-127706@lists.php.net to get a copy of this message
try using -q Here is the usage: Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]} -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -w Display source with stripped comments and whitespace. -f <file> Parse <file>. Implies `-q' -v Version number -C Do not chdir to the script's directory -c <path> Look for php.ini file in this directory -a Run interactively -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -z <file> Load Zend extension <file>. -l Syntax check only (lint) -m Show compiled in modules -i PHP information -h This help On Tue, 2002-12-10 at 12:30, Bryan Koschmann - GKT wrote: > 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 -- Ray Hunter email: bigdog@venticon.com www: http://venticon.com

« previous php.general (#127706) next »