Cool, thanks!
I kept trying php --help to get that, didn't try the -h.

Works great :)

        Bryan

On 10 Dec 2002, Ray Hunter wrote:

|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
|


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to