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 with the tags <?. The -q will supress the HTTP headers. -Scott On Fri, 1 Mar 2002, Peter J. Schoenster wrote: > 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://www.readbrazil.com/ > Answering Your Questions About Brazil > > -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php