Re: small windows odd problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux