You get a bonus - 1 coin for daily activity. Now you have 1 coin

PHP and CGI

Lecture



PHP is a good replacement for CGI. Now CGI applications for the web are gradually being supplanted by PHP.

The reason for this is that PHP is designed specifically for web programming. Now you don’t need to write your own functions, for example, to parse a string, get the values ​​of environment variables, etc. When using, for example C, you have to do it yourself.

In PHP, the parameters passed to the script will automatically become script variables, with which you can work as with ordinary variables. The same thing happens with server environment variables. It should be mentioned that PHP supports work with various databases (MySQL, PostgresSQL, Sybase, Informix, etc.). Support for all of these features is already available in PHP.

PHP is a complete programming language, the syntax of which is very similar to C, and the library of standard PHP functions is very large, everything a web programmer needs is always at hand.

created: 2016-01-25
updated: 2021-03-13
132401



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Running server side scripts using PHP as an example (LAMP)

Terms: Running server side scripts using PHP as an example (LAMP)