Reply to Re: PHP-Yes, HTML-No --- Why?

Your name:

Reply:


Posted by Andrew DeFaria on 01/26/06 07:40

d wrote:
> If I were to develop in ASP, I would have .html as well. The reason we
> don't use .html is simply because that's how web servers determine
> which pages need parsing.
That's also exactly why php files should have php as their extensions -
because that's the way that web servers determine which pages not only
need parsing, but which parsing (actually interpretation not just
parsing - hell strict HTML files need parsing!) it needs. To tax a web
server with the task of parsing everything that has a .html extension,
when many, perhaps most of them have no PHP in them whatsoever is just
plain stupid. And besides, some web sites have PHP, Perl, jsp, asp and
just regular old cgi stuff. How you gonna mash all of that into just
..html files?
> I don't like that, as the files, when downloaded, are straight HTML.
Well then don't like it all you want however there are good technical
reasons for the way it works and to buck such reasons and configure your
web server in such a way just because you don't like the way it's done
is foolishness.
--
What hair color do they put on the driver's licenses of bald men?

[Back to original 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

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