Re: Lost formatting in browser 'view source'
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Mon, 20 Nov 2006 07:54:07 +0100
dorayme wrote:
In article <op.ti9416r5brft5s@xxxxxxxxxxxxxxxx>,
"J.O. Aho" <user@xxxxxxxxxxx> wrote:
On Sun, 19 Nov 2006 20:48:43 +0100, dorayme <doraymeRidThis@xxxxxxxxxxxxxxx> wrote:
Was configuring a site of mine to understand an include in theThis works, but you get the down side that all html files will be checked for php code, which increases the load on the server, far better to rename the page to something ending with .php
html <? include "footer.inc"; ?>
In order to get it working I thought I had to add an .htaccess
file to the Unix remote server (as I have done elsewhere
successfully) with the text:
AddType application/x-httpd-php .html
php_value include_path /home/domainName/public_html/includes
You mean to rename all the pages, they all have footers?
Yes.
.
- Follow-Ups:
- Re: Lost formatting in browser 'view source'
- From: dorayme
- Re: Lost formatting in browser 'view source'
- From: Michael Fesser
- Re: Lost formatting in browser 'view source'
- References:
- Lost formatting in browser 'view source'
- From: dorayme
- Re: Lost formatting in browser 'view source'
- From: J.O. Aho
- Re: Lost formatting in browser 'view source'
- From: dorayme
- Lost formatting in browser 'view source'
- Prev by Date: Re: PHP/MySQL Database backup script
- Next by Date: Fragment identifier (#...)
- Previous by thread: Re: Lost formatting in browser 'view source'
- Next by thread: Re: Lost formatting in browser 'view source'
- Index(es):
Relevant Pages
|