Wednesday, 6 December 2017

PHP for dynamic web pages

PHP is a server-side scripting language which allows you to create dynamic web pages by putting script code inside your HTML pages. The code is executed by the web server before the page is returned to the browser. At your end there is web server loaded. that is why you are not able to view the view at your end.

PHP stands for PHP : Hypertext Preprocessor. PHP is a server-side scripting language, like ASP. PHP scripts are executed on the server. PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.). PHP is an open source software (OSS). PHP is free to download and use.

PHP is a powerful server-side scripting language for creating dynamic and interactive websites.

PHP, arguably is the most popular Web scripting language in the world. I think, it will surely help you in your web site development.

if you have worked with a language such as C or Perl in the past, you will find the going much easier.

PHP is a language that has outgrown its name. It was originally conceived as a set of macros to help coders maintain personal home pages, and its name grew from its purpose. Since then, PHP's capabilities have been extended, taking it beyond a set of utilities to a full-featured programming language, capable of managing huge database-driven online environments.

PHP is the most popular Apache module available, beating mod_ssl, Perl, and FrontPage.

I also wanted to know, how it works?

PHP officially known as PHP : Hypertext Preprocessor is a server-side scripting language often written in an HTML context. Unlike an ordinary HTML page, a PHP script is not sent directly to a client by the server; instead, it is parsed by the PHP engine. HTML elements in the script are left alone, but PHP code is interpreted and executed. PHP code in a script can query databases, create images, read and write files, talk to remote servers—the possibilities are endless. The output from PHP code is combined with the HTML in the script and the result sent to the user.

PHP is also installed as a command-line application, making it an excellent tool for scripting on a server. Many system administrators now use PHP for the sort of automation that has been traditionally handled by Perl or shell scripting.

PHP can be embedded directly into the HTML code. It is widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. PHP is perfectly suited for Web development.
Yes, it is very easy, the PHP syntax is very similar to Perl and C. PHP is often used together with Apache (web server) on various operating systems.
Yes, you can test it with Microsoft's IIS, it also supports ISAPI.