Jump to content

.html vs .php


Recommended Posts

.php files can execute PHP, while .html files can't (unless you've configured the server to treat HTML files as executable PHP.)Besides that, it makes no difference which extension you choose. You could make up your own extension if you wanted to, as long as your server is sending the right headers.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...