You are here: Re: PHP while name still .html « PHP Language « IT news, forums, messages
Re: PHP while name still .html

Posted by Aldo on 05/23/05 18:32

On Mon, 23 May 2005, Oli Filth wrote:

> I believe that you need to use the line:
>
> AddType application/x-httpd-php .html
>
> in your .htaccess or httpd.conf file.
OK I try this.

> However, this is not recommended practice, and also means that every single
> HTML file will be pre-processed by the PHP engine, which slows down the speed
> at which documents are returned. It would be better to rename those files
> that actually have PHP in them.

The problem should then be that I have to rename all internal hrefs inside
each page so that the links can work;

I will check and ask if latex2html can output other extensions than .html
automatically: this should resolve the problem.

ThanX,

Aldo.


> --
> Oli
>

 

Navigation:

[Reply to this 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

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