Re: small windows odd problem
| From: | James Benson | Date: | Thu, 03 Nov 2005 22:21:09 +0000 |
| Subject: | Re: small windows odd problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225073@lists.php.net to get a copy of this message | ||
If you mean entering code directly onto the command line then you dont need the opening/closing PHP tags,
use something like...
php -r "echo 'hello world';"
matt VanDeWalle wrote:
hello all, I have just installed php-4.4.0 on my windows xp system and added the directory to the path c:/php-4.4.0-Win32 but I am having problems with the cli version of php. I can get into the program but after i type a bit of code, I try the following keys to get output but it never parses it. I have tried ctrl-z and ctrl-m and ctrl-d but none of these will execute a darn thing. The bit of code I tried is as follows <? echo "hello world"; ?> but like i said, nothing is output when i hit ctrl-m, ctrl-z, or ctrl-d on linux i am using php 4.3.10 and the command line works perfectly