First, cultivate your interest in PHP, and then learn more about PhP. Program In fact, there are many advantages. Mainly list the following points.
PHP can do anything, such as collecting form data, generating dynamic webpages, or sending/receiving cookies. However, PHP functions are far from limited.
ASP ---------
1. on the Microsoft platform, you have to pay for it.
2. Many vulnerabilities, non-open source, and manyCodeThe running environment usage is not published.
3. Poor performance. server system.
4. Unstructured program transmission and writing.
5. debugging is not easy. The error cannot be modified.
6. Multiple components are supported.
JSP ---------
1. High hardware requirements.
2. A Java foundation is required.
3. debugging is not easy. It is difficult to modify the error.
4. It is claimed that the execution speed is the fastest (through compilation acceleration, PHP can also)
5. the business model of large enterprises is suitable for (banks and enterprises .)
PHP ---------
1. cross-platform (Microsoft, Linux, UNIX), cross-Web Server (IIS, Apache)
2. Structured (similar to C) and easy debugging.
3. Excellent Performance.
4. Low hardware requirements.
5. Open source code, fewer vulnerabilities, and low risks.
6. A wide range of supported databases.
Adabas D Interbase PostgreSQL DBASE frontbase SQLite Empress msql solid
Filepro (read-only) Direct MS-SQL Sybase hyperwave MySQL velocis IBM DB2 odbc unix dBm
Informix Oracle (oci7 and oci8) INGRES ovrimos
Others: BBS, message board, magazine,ArticleYou can even write command columns and graphic user interfaces. The most important thing is not to make money.
PHP running environment:
Server Environment: Apache + MySQL + PHP + phpMyAdmin is integrated with appserv.exe.
Used programming tools: Macromedia Dreamweaver or emeditor.
Let's take a rough look at the basic PHP writing methods. The echo () Statement of PHP shows about four writing methods:
The most common
<? PHP phpinfo ();?>
Then write a new test:
<HTML>
<Head>
<Title> Bad Wolf PHP learning test </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
</Head>
<Body>
<? PHP
Echo "Buy a VM and find a bad wolf! Www.winshell.cn "// here is the content to be written by PHP!
?>
</Body>
</Html>
I learned this first... the main content will be later ....