In almost all cases, if a page contains no PHP code, it can have either a .php or a .htm extension. If a page does contain even one line of actual PHP code, it must have a .php extension.
To be perfectly honest though, anyone with a dedicated server can edit their Apache httpd configuration to allow any extension to be an alias for any other extension. For example, you can say that .htm and .phtml are both aliases for .php, and therefore all 3 can run PHP code. Doing this would take a system administrator / linux techie type person to make the appropriate change.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Offline 13,645 posts
since Feb 2002