Re: php-cli
| From: | Rick Pasotto | Date: | Sun, 14 Mar 2010 20:41:15 +0000 |
| Subject: | Re: php-cli | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302811@lists.php.net to get a copy of this message | ||
On Sun, Mar 14, 2010 at 06:13:24PM +0000, Ashley Sheridan wrote:
> 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?
>
> How are you running it from the command line?
Is there more than one way? I suppose with and without the -f could
count as two ways, but the man page says without defaults to with so
they're really the same.
--
"Remember, today is the tomorrow you worried about yesterday."
-- Dale Carnegie
Rick Pasotto rick@niof.net http://www.niof.net