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 ?
Read up on PHP's commandline features in the manual and the user contributed notes for some valuable time-saving insights:
http://www.php.net/manual/en/features.commandline.php
Cheers
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php