Mailinglisten-Archive |
Philipp Bosch schrieb:
>
> Tach zusammen,
>
> ich benutze PHP in letzter Zeit nicht nur für WWW-Geschichten, sondern
> auch für einfache Programme in der UNIX-Shell. Dabei habe ich das
> Problem, daß PHP immer als erstes "Content-type: text/html\n\n" ausgibt.
> Kann man das irgendwie abstellen?
>
> Gruß,
> Philipp Bosch.
Hi,
versuch mal die Option "-q", anbei die 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.
-f<file> Parse <file>. Implies `-q'
-v Version number
-p Pretokenize a script (creates a .php3p file)
-e Execute a pretokenized (.php3p) script
-c<path> Look for php3.ini file in this directory
-i PHP information
-h This help
------
--
| Emilio Paolini <ep_(at)_IM-NETZ.de>......................... 13349 Berlin
| IM-NETZ Internet Services, Berlin............. http://www.IM-NETZ.de
| Telekom ...................... ++49 30 4511000 (Q) und 0177 451 2000
php::bar PHP Wiki - Listenarchive