I have been using .htm for my file extensions without any problems and have always thought that the only difference between .htm and .html was the "l". Since I have been using Dreamweaver and by default it saved all files as .htm I never gave it a second thought.
However I recently tried inserting a script into a .htm file by adding an htaccess file to allow for the php code to be executed, I found that I would get a server error unless I changed my file extensions to .html.
My question is why, is there a work around rather than renaming all my file, and does anyone have any explanation as to why this is happening?
Also, should I have been saving my files as .html all along?
However I recently tried inserting a script into a .htm file by adding an htaccess file to allow for the php code to be executed, I found that I would get a server error unless I changed my file extensions to .html.
My question is why, is there a work around rather than renaming all my file, and does anyone have any explanation as to why this is happening?
Also, should I have been saving my files as .html all along?
Comment