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
Post a Comment