Its depend on your business. If your business need daily update then you need CMS( PHP) because in HTML you have to give lots of time for adding new page , product or text.
Yeah sure there are other methods for doing so such as using .htaccess or including PHP code from other file extensions, but that's rather irrelevant...maybe you should address the initial topic first before addressing a simplified answer.
If so then it makes your post irrelevant, too. I did. Two weeks ago. You are late to the party and extending an already dead thread.
what are you talking about ^^, html is markup language, however php is hypertext processor php its a programming languages just like asp, perl , etc html is secured 100% cuz it has nothing to do just displaying the layout/colors etc but php is usually connected with databases ,so any hacker gonna play with your site, with some mysql injection codes he may get access to your database so you've to take care of your php code, and use special functions to prevent mysql injections both are totally different
It depend on how complicated your site. If you want make your static page, you can use HTML (.html / .htm) but if you prefer to make more complicated site, such as using dynamic content such as Tumblr, Facebook or Twitter you should use PHP to make it more easier to deliver the content. But all the site is combination between HTML + CSS + (any language, such as PHP, ASP.NET, Ruby on Rails or whatever)
Hi, Its your choice totally, you have to decide what extension you want to use. There are no advantages and disadvantages in search engine point of view. If you want a simple static website you should go for html or htm extension. All php codes are compatible with these extensions as well. You can also include php codes, files or functions in .html or .htm extension files. If you want some complex coding on the page .php is good to go for. It really do not matter which extension you are using as far as design and SEO is concerned. Since the design code of all the extensions are same just the functionality differs by adding different language codes. regards zabalex
This is just because of misunderstanding, as some beginner think that the extension .html and .php makes the Markup Language different. But they have to understand that you can save same file in any extension if there are no server side code involved. However a server side code is compatible with .html extension as well even if it is written in <?php......?>. Even though they think a file with the .php extension has some different markup language. They have to understand that even if the extension is .php or whatsoever to display a webpage in a browser it must be within <html> ....... <body> ........</body></html>. there must be <div> or <table> and so on to align the page elements. Regards zabalex
No. It's due to a lack of education. Most posters on DP lack knowledge of fundamentals of anything related to the web.