The 1th day of the PHP Learning tutorial for the Bad Wolf in Photoshop Learning Forum

Source: Internet
Author: User
Tags ibm db2
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.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.