[PHP] Command line output

2003-11-18 Thread Shawn McKenzie
O.K. I am just now experimenting with the CLI PHP and have another question. With the following code, none of the echo output is seen until the script completes. I even tried adding a flush() after the first echo before the imap_open, but still the same behavior. Any ideas? echo Connecting to

[PHP] command line output

2002-12-10 Thread Bryan Koschmann - GKT
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

Re: [PHP] command line output

2002-12-10 Thread Ray Hunter
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

Re: [PHP] command line output

2002-12-10 Thread Bryan Koschmann - GKT
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