You are here: Re: Newbie: PHP output within HTML page « All PHP « IT news, forums, messages
Re: Newbie: PHP output within HTML page

Posted by Crash\" Dummy on 08/09/07 20:38

> If he's stuck with pre-existing .html files and he can't rename them, I don't
> know of too many other options. : )

> If he were to change all his files to .php, to add dynamic content, the server
> would still have to parse all the content. It would probably take more time to
> rename all the files to the .php extension, then adjusting the config in
Apache.
> In either case the server would have to parse the PHP content whether it was
> working with .php or .html files.

True enough, but I was under the impression that he only wants/needs to do this
for a single page ("I am trying to add some dynamic content to an existing HTML
page."). I am just pointing out the cost of treating all passive files as PHP.

If he just wants to preserve an existing URL, he could use a simple redirect to
transfer the call to a PHP file.
--
Crash
Running: Windows 2000 Pro - Apache 2.2.4 - PHP 5.2.1 - PERL 5.8.8

Reply to group only. E-mail is blocked.

 

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

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