Re: PHP script for command line
| From: | Lars Torben Wilson | Date: | Tue, 05 Feb 2002 09:25:52 +0000 |
| Subject: | Re: PHP script for command line | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83560@lists.php.net to get a copy of this message | ||
On Tue, 2002-02-05 at 00:36, Alex Shi wrote:
> I am now trying to use php script from command line. Everything is
> Ok except only one thing: it will always send out header msg. How
> can stop it from sending header?
>
> Alex Shi
There are full instructions in the manual. Essentially, you
are looking for the -q command line option.
http://www.php.net/manual/en/commandline.php
Hope this helps,
Torben
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506