Need help using "php.exe"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux