Re: [PHP] Calling php-cgi.exe

2007-07-24 Thread Shawn McKenzie
OK, thanks. I thought since php.exe had help and documentation for command line args, so would the cgi have some pointers or best practices of what to pass and how. -Shawn Richard Lynch wrote: > On Tue, July 24, 2007 6:26 pm, Shawn McKenzie wrote: >> I have written a small web server for windows

Re: [PHP] Calling php-cgi.exe

2007-07-24 Thread Richard Lynch
On Tue, July 24, 2007 6:26 pm, Shawn McKenzie wrote: > I have written a small web server for windows. It works fine for > static > HTML files, but I would like to be able to run PHP scripts. > > Playing with php-cgi.exe on the command line I see that it returns the > content type and the generated

[PHP] Calling php-cgi.exe

2007-07-24 Thread Shawn McKenzie
I have written a small web server for windows. It works fine for static HTML files, but I would like to be able to run PHP scripts. Playing with php-cgi.exe on the command line I see that it returns the content type and the generated HTML from a script 'php-cgi.exe test.php'. From experimenting,