Re: php failing from within .html pages...
| From: | Curtis Maurand | Date: | Wed, 03 Apr 2002 17:25:36 +0000 |
| Subject: | Re: php failing from within .html pages... | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6547@lists.php.net to get a copy of this message | ||
page.shtml You're writing using Server Side Includes. The server still
needs to parse that and it needs to know to parse it.
Curtis
On Fri, 2002-03-29 at 15:07, LRB wrote:
> Anybody?
>
> I've set up an account on Interland on using Linux.
>
> The way they have their cgi php installed php only works within .php or
> .phtml pages, which is not acceptable for my use.
>
> Their tech guys can't help.
>
> Example:
>
> <html>
> <body>
> <?php include "blah.php"; ?>
> </body>
> </html>
> ...displays only html, and the php tag is visible in source code.
>
> I tried installing a .htaccess file in the site root, which doesn't help
> either:
>
> "AddType application/x-httpd-php .html"
>
> this worked on another host, but not Interland.
>
> Help??
>
> Thanks very much,
> Lenny Brandriet
> Oakland, CA, USA
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>