Hi all, Hopefully someone will be able to help me.
There are 2 things Im after really the first one is, where can I find a list of all the flags I can use with a php binary ... eg:
php -q [file]
will parse [file] output to stdout and the -q supresses the HTTP headers outputed.
Second question is, if instead of naming the file, I want to pipe the data to it directly from another command ... how would I go about doing that? eg:
echo "<?=mktime()?>" > /usr/local/bin/php
The example doesnt work and Im looking for a replacement (if possible) which does. Any help would be appreciated.
BTW: Im using php 4.0.4