Re: Need help using "php.exe"
| From: | DvDmanDT | Date: | Sun, 11 Apr 2004 19:55:29 +0000 |
| Subject: | Re: Need help using "php.exe" | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23416@lists.php.net to get a copy of this message | ||
Try to replace the ? with a space.. But I really have no idra.. Make sure
you use latest version, cause I think this was changed to work better in
latest version.. Although, I would recommend to use the CLI version instead
of the CGI..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Eugen" <eyemaster@go.ro> skrev i meddelandet
news:20040411143523.46226.qmail@pb1.pair.com...
> 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 ?