You are here: Re: PHP-Yes, HTML-No --- Why? « PHP Programming Language « IT news, forums, messages
Re: PHP-Yes, HTML-No --- Why?

Posted by d on 01/25/06 14:21

"Lennart Bjφrk" <lennart.bjork@bibserv.com> wrote in message
news:ETJBf.43245$d5.199307@newsb.telia.net...
> Barry,
>
> >
> maybe your web server was setup differently without you knowing about it
> <
> May well be. Somehow I have to adapt my code and my file names to the
> common norm for webservers. So my conclusion is that PHP-code should
> preferably be in files with php as file name extention?

That's how most web servers work, but it can be changed with a very slight
modification to your httpd.conf (if you're using apache), or IIS setup
graphical wizard thingy. Personally, I prefer html being parsed through
PHP. The performance hit is absolutely minimal on a system using PHP as a
module (on CGI setups, it requires a PHP process be spawned to handle it,
which can be a problem on highly-trafficked sites).

> Lennart Bjφrk

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация