Re: Lost formatting in browser 'view source'



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

Fine... in a way... but something has happened to the source
view, it no longer appears formatted in the sense of line breaks,
it is all strung together as on one line.

This may more do with the browser than anythig else.


I wish. But not so. It happens in all browsers. There is
something going on I do not understand.

--
dorayme
.



Relevant Pages

  • Re: Lost formatting in browser view source
    ... file to the Unix remote server (as I have done elsewhere ... 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 ... sort of formatted to the extent of not being in one unbroken unreadable line, I want to include footers and nav and repeatable elements, I want nothing to be unduly slowed down, I want all this to be easier than winning the lottery. ...
    (alt.php)
  • Re: Lost formatting in browser view source
    ... file to the Unix remote server (as I have done elsewhere ... for php code, which increases the load on the server, far better to rename ... You mean to rename all the pages, they all have footers? ...
    (alt.php)
  • Re: Lost formatting in browser view source
    ... file to the Unix remote server (as I have done elsewhere ... 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 ...
    (alt.php)
  • Re: Lost formatting in browser view source
    ... 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 ... 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 ...
    (alt.php)