To develop interest in PHP first, understand the advantages of PHP relative to other programs. In fact, there are many advantages. The main points are listed below.
PHP can do anything, such as collecting form data, generating dynamic Web pages, or sending/receiving Cookies. But PHP's capabilities are far from the limit.
ASP---------
1. Microsoft platform, pay to buy.
2. More vulnerabilities. Non-open source, many code run environment usage specific content is not published.
3. Poor performance. Server System.
4. Program writes are unstructured.
5. It is not easy to debug errors.
6. Component support is much more complex.
JSP---------
1. High hardware requirements.
2. To have a Java foundation.
3. It is not easy to debug errors.
4. Known as the fastest execution speed. (By compiling the acceleration, PHP can also)
5. The business model of large enterprises is more suitable. (Bank, Enterprise.)
PHP---------
1. Cross-platform (Microsoft,linux,unix), cross-Web server (Iis,apache)
2. Structured (like C), easy to debug.
3. Good performance machine.
4. Low requirements for hardware.
5. Open source, less loopholes, low risk.
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
Other: BBS, message board, magazine, article, Rack Station machine. Even ... Write a command-line program. Write the graphical user interface. The most important thing is not money.
PHP Approximate operating environment:
Server environment: Apache+mysql+php+phpmyadmin has a software called Appserv.exe integration of these.
Authoring tools used: Macromedia Dreamweaver or EmEditor, etc.
Probably understand the basic way of writing PHP, PHP's Echo () statement shows, about 4 kinds of wording:
The most common access to system information
Then write a beginner's test:
<title>Bad Wolf PHP learning test</title>
echo "Buy a virtual host to find the Bad wolf!" www.winshell.cn "//Here is PHP to write content!
?>
Basically learn these first .... The main content in the future ....
The above describes the Photoshop learning forum bad Wolf's PHP Learning Tutorial 1th Day, including the Photoshop Learning forum content, hope to be interested in PHP tutorial friends helpful.