"The X-Powered by:" i believe can be disabled in PHP.INI by setting the
parameter that decide wether PHP should reveal itself or not.
Just as of now i don't remember exactly which parameter this is, but you should
have no trouble finding it in the .INI file.

As for your trouble with the Webserver not being accessible when 'online' - i
think this is a question of telling your browser to look locally instead of
trying via the default route (which is the dialup).

Try accessing your webserver by the localhost IP (http://127.0.0.1)

Tomas Valusek wrote:

> 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

--

Michel Laine
Engineer / Network Administrator

SYSTEM TECHNOLOGY SWEDEN AB
Phone:(+46)-8-982255
Fax:(+46)-8-982060
Snail mail: Vretenvagen 2,  171 54 SOLNA,  SWEDEN

E-mail: [EMAIL PROTECTED]
WWW: http://www.systemtech.se



-- 
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]

Reply via email to