Need help using "php.exe"
| From: | Eugen | Date: | Sun, 11 Apr 2004 14:35:25 +0000 |
| Subject: | Need help using "php.exe" | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23414@lists.php.net to get a copy of this message | ||
Hi all,
When you parse a file using the command "php.exe -f c:\myfile.php >
c:\myfile.htm" , what command is required to set a variable. Example:
In IE addressbar, when i type(doesn't matter what server i use) :
http://localhost/myfile.php?thevariable=anyvariable,
the "myfile.php" file
is now parsed with indicated variable.
But if i launch "php.exe -f c:\myfile.php?thevariable=anyvariable >
c:\myfile.htm" , the output file (c:\myfile.htm) contains one line:
No input file specified.
How can i make it work, without using a webserver ?