Re: [PHP] how to use PHP on command line in windows

2002-03-01 Thread Scott St. John
Just download the CGI version and call it from the command line. I am doing a project now based entirely on the command line using PHP as a file parser on Win 2K. You can add it to your path or just call it: c:\php\php.exe -q nameOfScript.php Make sure you write it like a normal PHP script wi

[PHP] how to use PHP on command line in windows

2002-03-01 Thread Peter J. Schoenster
Hi, I use NT for development and I like to write snippets of code and test them on my local box. I can do this in Perl. How can I do that in PHP without installing a webserver etc. etc. I guess I can install a version of PHP and just make sure I've got the path in my env. Thanks, Peter http: