Translator Note: Recently, I have done my own personal homepage. I hope that all users have to pay, not very grateful! Www22.brinkster.com/cymanhome/index.asp
6. Brief history of php
PHP was originally a simple and compact CGI tool written by Perl, known as "Personal Home Page Tools", and later renamed "Personal Home Page Construction Kit".
It is also called "Professional Home Pages", and now the latest name is "PHP Hypertext Pre-Processor".
There is also a tool that can be very simple to embed the SQL query statement into the web page. This tool can basically be regarded as parsing SQL query statements and is very easy to create another CGI tool for forms and tables. This tool is called Fi (Form Interpreter, form interpreter).
PHP / Fi2.0 completely rewritten these two packs and merged into a separate program. Finally develop into a simple program language embedded in the HTML file. PHP puts a simple script directly in the HTML file so that you no longer need to create a large number of mini PERL CGI programs. Because there is a lot of calls to the Perl program, it greatly improves your overall performance of your web page. It greatly improves the overall performance of your web page. Moreover, by placing all components constituting the web page in a separate HTML file, the management of large sites is easier. Due to the support of various databases, it is very easy to develop a database-based web page. Many people think that this approach is simpler than the created HTML and CGI files.
Now, PHP / FI is again renamed PHP.
7. A simple example
Suppose you have such a form: