Reply to Re: Lost formatting in browser 'view source'

Your name:

Reply:


Posted by J.O. Aho on 11/20/06 06:54

dorayme wrote:
> In article <op.ti9416r5brft5s@kennis.local.lan>,
> "J.O. Aho" <user@example.net> wrote:
>
>> On Sun, 19 Nov 2006 20:48:43 +0100, dorayme
>> <doraymeRidThis@optusnet.com.au> wrote:
>>
>>> Was configuring a site of mine to understand an include in the
>>> 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
>> This 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
>>
>>
>
> You mean to rename all the pages, they all have footers?

Yes.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация