Reply to Re: Force apache to parse html files as php

Your name:

Reply:


Posted by Ivan Marsh on 12/05/07 21:37

On Wed, 05 Dec 2007 22:20:58 +0100, Michael Fesser wrote:

> .oO(Ivan Marsh)
>
>>On Wed, 05 Dec 2007 19:40:29 +0000, Gary Hasler wrote:
>>
>>> I want apache to parse all .html files for php code.
>>
>>May I ask why files that contain PHP code are being named .html and not
>>.php?
>
> Some things simply don't belong to a URL.

Who said anything about belonging in a URL? If you're stripping file
extensions what difference does it make what the file extension is?

The file extension tells the webserver how to interpret the file... so why
not name PHP scripts .php rather than .html?

--
I told you this was going to happen.

[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

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