Re: command-line PHP and suppressing headers - help
From: Daniel Tryba (news_comp.lang.php_at_canopus.nl)
Date: 01/03/04
- Next message: Daniel Tryba: "Re: Values not displaying in second form after post."
- Previous message: TG: "Values not displaying in second form after post."
- In reply to: Phil Powell: "command-line PHP and suppressing headers - help"
- Next in thread: Phil Powell: "Re: command-line PHP and suppressing headers - help"
- Reply: Phil Powell: "Re: command-line PHP and suppressing headers - help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 3 Jan 2004 03:43:38 +0000 (UTC)
Phil Powell <soazine@erols.com> wrote:
> How do I suppress the lines PHP normally delivers to stdout (your browser)
> if I am doing command-line PHP?
$ php -h
Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]}
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-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
(or something really similar depending on php version (4.1.2 above))
-- Daniel Tryba
- Next message: Daniel Tryba: "Re: Values not displaying in second form after post."
- Previous message: TG: "Values not displaying in second form after post."
- In reply to: Phil Powell: "command-line PHP and suppressing headers - help"
- Next in thread: Phil Powell: "Re: command-line PHP and suppressing headers - help"
- Reply: Phil Powell: "Re: command-line PHP and suppressing headers - help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|