M
Michael Winter
[running PHP from the command line]
In Linux, you use the -f flag to specify a file.
Not necessary to use flags to create a file:
$ /usr/local/bin/run.php > file.html
will create your file. Just use >> to keep appending from different
sources. [...]
I was going by the PHP manual, which, unlike the Windows version of the
preprocessor, specifies the -f flag. It's probably out-of-date or
inaccurate, but I couldn't test it[1].
Mike
[1] My Linux installation is broken at the moment.