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

Posted by David on 07/01/06 15:21

-Lost wrote:
> "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).

I guess I had a senior moment. I forgot to tell you that you need to do
this also

in your VirtualHost container in the httpd.conf file you need to add

XBitHack on

after saving this you will need to restart the server.

I am sorry that I missed this in my first post

-David

 

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

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