Re: .htm extension
Note that making this change may not be desirable if most of your pages are pure html. If you add an entry to the htaccess as suggested, all html files will be parsed for php, which could put an unnecessary load on your server. Also, if you use a doctype tag, your normal pages could break. (The <? that opens the doctype definition is a php shortcut tag.) Some shared hosts also do not allow extensions to be changed in this way. If this is the only php page and you don't want the php extension, I would suggest using mod rewrite if that is an option on your server.
__________________
The best way to learn anything, is to question everything.
|