dubesinhower Posted July 18, 2011 Share Posted July 18, 2011 i'm creating a small web app using html and php. what are the advantages of having .html files versus .php files? does one have better seo? what's the best (or most popular) way to include simple php with html? Link to comment Share on other sites More sharing options...
Ingolme Posted July 18, 2011 Share Posted July 18, 2011 .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 comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.