php - Why use server-side scripting language? -


i'm middle of confusion here. i'm learning php , studied advantages , disadvantages of it. basically, have put php code inside html codes, when load .php file, loads html page. i'm unclear here! why use server-side scripting output html page, while can create .html file , open it?

why use server-side scripting output html page, while can create .html file , open it? not need php that, can output html page .html extension.

php server scripting language, , powerful tool making dynamic , interactive web pages.php code can mixed html code, or can used in combination various templating engines , web frameworks. php code processed php interpreter, implemented web server's native module or common gateway interface (cgi) executable.

however need php 1 many reason, i.e. file uploading/database/dynamic websites , list goes on , on, can't done using html only.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -