Re: [PHP] php-cli

[email protected] (Ashley Sheridan)
Newsgroups php.general
Message-ID <1268590404.2892.64.camel@localhost>
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    [email protected]    http://www.niof.net
> 


How are you running it from the command line?

Thanks,
Ash
http://www.ashleysheridan.co.uk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.