PHP-Getting Started (1)

Basic framework written in PHP language

The writing framework of PHP language is consistent with that of HTML5, and both are the following frameworks

 <!DOCTYPE html>
 <html>
    <head>
    </head>
   <body>  
   </body>
 </html>

The main expression of PHP is in body**, and the subject content is in <?phpand ?>tags.

PHP is a scripting language running on the server

Features of PHP:

1. Run on the server: After you learn PHP, you can command the server to do the work for you. Most of the data of the WEB website is stored on the server. PHP is used to process the data stored on the server.

2. Cross-platform: The server can be a server of multiple platforms, such as Linux, windows, Unix, and you can all command.

3. Script language: He commands the server to work by writing scripts, that is, line by line of computer instructions. Therefore, the process of writing PHP is actually the process of communicating with the server, and the language of communication is PHP.

4. Fastness: fast program development, fast running, fast learning of technology in the province. Embedded in HTML: Because PHP can be embedded in HTML language, compared to other languages, it is easier to edit, more practical, and more suitable for beginners.

Environment integration

LAMPServer (LAMP): Linux system Apache MySQL PHP

WAMPAerver(Wamp): Windows system Apache MySQL PHP

The specific explanation for wampServerde is as follows: WampServer is an integrated software package developed by the French for Apche Web server, PHP interpreter and MySQL database. It eliminates the need for developers to spend time in the cumbersome configuration environment process, and can configure the environment more simply and conveniently, and use more energy to develop.

Guess you like

Origin blog.csdn.net/weixin_46069840/article/details/108716774