Hello,
I just downloaded and manually installed PHP 4.0.6 on my Win98 machine. As
long as I use a dial-up connection, no web server is installed.
I'd like to use PHP as an off-line preprocessor, generating html files to
disk. When I generated my first page, the generated code looked like this:
X-Powered-By: PHP/4.0.6
Content-type: text/html
<html>
<head>
<title>Pokus s PHP</title>
</head>
<body>
Hi, I'm a PHP script!
</body>
</html>
As you can see, there are two header lines in the beginning of file,
although I used a -f command-line switch. How can I get rid of these two
lines?
I also manually added a php file extension association with single action -
Run. I inserted this command line
c:\php\php.exe -f "%1" >"%1.html"
and expected to have resulting html in the same folder as a source php
file - but it doesn't work - why?
I have searched a manual for an explanation, but I've found nothing. Thanks
for any help.
Tomas Valusek
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]