[Solved] Why use server-side scripting language? [closed]


Why use a server-side scripting to output a HTML page, while I can simply create a .html file and open it? You do not need PHP for that, you can always output a HTML page with .html extension.

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server’s native module or a Common Gateway Interface (CGI) executable.

However you NEED PHP for one too many reason, i.e. File Uploading/Database/Dynamic Websites and the list goes on and on, which obviously can’t be done using HTML only.

solved Why use server-side scripting language? [closed]