Command Line
| From: | irwan nurwandi | Date: | Fri, 11 Apr 2003 09:59:05 +0000 |
| Subject: | Command Line | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19389@lists.php.net to get a copy of this message | ||
dear all ,
I'm try to execute php command from the command line.
I used php 4.3.1 for windows
when I try to run the php script on command line by
type :
C:\PHP>php -r 'echo "test"'
there some error like below :
Error in argument 1, char 2: option not found r
and when i used help by type
C:\PHP>php -h
I couldn't see an option for -r in the help list and
there's no explanation also.
but if I execute php script located in a file (I save
the script in file: script.php) by type :
C:\PHP>php -f script.php
the script in a file running well !!!
any suggestion ??
help me please ....
I wanna use the -r option
best regards
Irwan Nurwandi
Indonesia
=====
============================================================
kemanapun takdir Engkau pergilirkan
kan kurindu slalu pertemuan dengan-Mu
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com