Re: PHP-Yes, HTML-No --- Why?
- From: Andrew DeFaria <Andrew@xxxxxxxxxxx>
- Date: Wed, 25 Jan 2006 21:34:38 -0800
d wrote:
I mean as in you are showing the world what technology you're using :)Who the hell cares? I mean aside from you!
The pages are spitting out HTML, and so logically should have a .html extension when the browser sees themHmmmm... That logic doesn't even make sense. You can have a Perl script or a .exe file that "spits out" just text. Should such files have a .txt extension?!? The .html signifies that the file contains HTML - and pretty much only HTML. A php script contains both HTML and PHP code so technically speaking it's not just HTML.
(as the extension signifies the contents of the file, even though web browsers shouldn't use that to determine the contents of the file, people still do).Why do you think that browsers shouldn't determine the contents of the file from it's extension? Truth is it does, multiple times over in many, many different occasions. Ever hear of mime.types? Ever actually configure an Apache server?
And what's so wrong about doing that anyway? Until and unless we have a robust and reliable object oriented and typed file system extensions will be the way to go.
--
For my birthday I got a humidifier and a de-humidifier...I put them in the same room and let them fight it out...
.
- Follow-Ups:
- Re: PHP-Yes, HTML-No --- Why?
- From: d
- Re: PHP-Yes, HTML-No --- Why?
- References:
- PHP-Yes, HTML-No --- Why?
- From: Lennart Björk
- Re: PHP-Yes, HTML-No --- Why?
- From: Barry
- Re: PHP-Yes, HTML-No --- Why?
- From: Lennart Björk
- Re: PHP-Yes, HTML-No --- Why?
- From: Barry
- Re: PHP-Yes, HTML-No --- Why?
- From: Lennart Björk
- Re: PHP-Yes, HTML-No --- Why?
- From: d
- Re: PHP-Yes, HTML-No --- Why?
- From: Lennart Björk
- Re: PHP-Yes, HTML-No --- Why?
- From: d
- PHP-Yes, HTML-No --- Why?
- Prev by Date: PLEASE HELP ME ($20 REWARD!!) PHP(v5.0.4)/MySQL(v4.1.14) Problem. Need Basic Drop-down menu populated by 1 column from MySql
- Next by Date: Re: PHP-Yes, HTML-No --- Why?
- Previous by thread: Re: PHP-Yes, HTML-No --- Why?
- Next by thread: Re: PHP-Yes, HTML-No --- Why?
- Index(es):
Relevant Pages
|