Thanks for clearing that up for me.Roja wrote:Only if the server is configured to parse html as php.nickman013 wrote:Would the php work?
But doing so means it is a php file, despite the .html extension.
.html to .php
Moderator: General Moderators
- nickman013
- Forum Regular
- Posts: 764
- Joined: Sun Aug 14, 2005 12:02 am
- Location: Long Island, New York
Roja wrote:Only if the server is configured to parse html as php.nickman013 wrote:Would the php work?
But doing so means it is a php file, despite the .html extension.
it might be off topic,but
why would there be other extensions(shtml,cfm,asp,etc) if all can be parsed even if they had the extension of and html page? It would seem very redundant
Can and should are very different things. The option is provided so that if you are converting a site from one technology to another, you can do so without breaking links. For example, if this forum switched to one powered by Perl, with .pl extensions, every link to every page here would have to be updated. (Including links from other sites).a94060 wrote:it might be off topic,but
why would there be other extensions(shtml,cfm,asp,etc) if all can be parsed even if they had the extension of and html page? It would seem very redundant
By default, however, the extensions generally map to the parser that should be used.
It is highly recommended NOT to remap those. Of course, there are situations where it can be extremely useful, so they offer it.