Re: php-cli
| From: | Ashley Sheridan | Date: | Sun, 14 Mar 2010 18:13:24 +0000 |
| Subject: | Re: php-cli | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302806@lists.php.net to get a copy of this message | ||
On Sun, 2010-03-14 at 14:15 -0400, Rick Pasotto wrote:
> Has cli php changed recently?
>
> I've got a php script (script1) that creates a php script (script2) by
> opening a file and then writing to it. When I try to run it from the
> command line script1 is simply copied to stdout. When I run it from the
> browser it works as expected. The directory has 777 permissions so that
> should not be the problem.
>
> Any ideas?
>
> --
> "Whatever the immediate gains and losses, the dangers to our safety
> arising from political suppression are always greater than the dangers
> to that safety resulting from political freedom. Suppression is always
> foolish. Freedom is always wise." -- Alexander Meiklejohn, 1955
> Rick Pasotto rick@niof.net http://www.niof.net
>
How are you running it from the command line?
Thanks,
Ash
http://www.ashleysheridan.co.uk