PHP from command line
| From: | Ville Mattila | Date: | Wed, 19 Jul 2000 20:18:51 +0000 |
| Subject: | PHP from command line | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-windows+get-1177@lists.php.net to get a copy of this message | ||
Hello!
I noticed that it's possible to use PHP from command line. It's very useful in some
projects where I need PHP's features but not web server. Just use command
php.exe [script] > [result file]
Anyway, I haven't found a solve to problem how I can transfer data to the PHP in this way? How
does the web servers give sent form data etc for PHP? Do I have to save the form data to a file and
then give the path to this file on the command or something like that?
I have some plannings to make a web server program in future and I'd like to include also a
support for PHP and other CGI-scripts to it.
................................
Ville Mattila
Ikaalinen, Finland