Slawek Puklo wrote:
In <7d*************************@posting.google.com> , bnp wrote:
I read that you can run PHP program in a console window.
How can I do that?
Start with reading manual.
http://www.php.net/manual/en/features.commandline.php
Or do the following!!!
Windows:
Make sure the /folder.to/php.exe in your path so php.exe can be called
from any folder on your system....
For windows normally: c:\php\
For Unix/Linux /usr/local/bin (at least on my MDK system)
Then do this in console:
$ php filename.php
If you need more command-line options (for Unix/Linux) do:
$ php --help