Bad Wolf's PHP learning tutorial-1st-PHP Tutorial

Source: Internet
Author: User
Tags ibm db2
1st days of Bad Wolf's PHP learning tutorial. First cultivate your interest in php, and first understand the advantages of php over other programs. in fact, there are many advantages. it mainly lists the following points. php can do anything, such as collecting form data and generating dynamic web pages. first, cultivate your interest in php and learn the advantages of php over other programs. in fact, there are many advantages. it mainly lists 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 code. the usage of many code runtime environments 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, article, rack server, or even... write command column programs. write graphical user interfaces. The most important thing is not 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


Then write a new test:




Bad Wolf php learning test



Echo "buy a VM and find a bad wolf! Www.winshell.cn "// Here is the content to be written by php!
?>





I learned this first... the main content will be later ....

Ghost. php can do anything, such as collecting form data and generating dynamic webpages...

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.