You are here: Re: PHP "within" HTML « All PHP « IT news, forums, messages
Re: PHP "within" HTML

Posted by -Lost on 07/01/06 04:33

"David" <youcantoo@findmoore.net> wrote in message
news:yM6dnbsBrtZ0ajjZnZ2dnUVZ_tGdnZ2d@centurytel.net...

> That puts a hell of a load on the server. You know the server will have to process each
> and every .htm or .html files looking for php code buried with in the page, before it
> can serve it. Hence a increase in the server load. <<BAD IDEA>>

You are exactly right. Not a bother if we are not talking about thousands (maybe more
like hundreds depending on the hardware) of HTML files.

> You might instead use 'chmod +x filename.htm/html

How exactly does this work? Just to make sure it was not some ignorance on my part, I
added execute all the way around on an HTML file containing PHP and it had no effect.

> That way the webserver only parses the htm/html file(s) that contains the php code.

However, I would love to know if this exists (either by allowing execute or whatever).

Thanks, David.

-Lost

 

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

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