Posted by Pedro Graca on 01/02/06 18:09
zeltus wrote:
> I've tried using "php -a" and [...] I can't get it to do anything useful.
>
> What I hope it will do is accept input from me and return the results -
> am I on the right track or have I missed the point somewhere?
I usually use the -r command-line option on Linux; never tried the -a
interactive PHP thing.
Just tried it on Windows and (after solving a little quoting problem) it
worked ...
C:\Utils\php>php -r "echo date(\"Y-m-d\"), \"\n\";"
2006-01-02
C:\Utils\php>
--
Mail to my "From:" address is readable by all at http://www.dodgeit.com/
== ** ## !! ------------------------------------------------ !! ## ** ==
TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>)
may bypass my spam filter. If it does, I may reply from another address!
[Back to original message]
|