Bad Wolf PHP Learning tutorial on the 1th Day _php Foundation

Source: Internet
Author: User
By first developing interest in PHP, you'll understand the advantages of PHP over other programs. In fact, the advantages are many. The following are the main points.
PHP can do anything, such as collecting form data, generating dynamic Web pages, or sending/receiving Cookies. But PHP's functionality is far from being limited to this.

ASP---------
1. Microsoft platform, spend money to buy.
2. There are many loopholes. Non-open source, a lot of code run environment usage specific content is not published.
3. Poor performance. Server System.
4. Program writing is not structured.
5. It's not easy to make mistakes.
6. Component support is more complex.
JSP---------
1. High requirements for hardware.
2. To have a Java base.
3. It's not easy to make mistakes.
4. The fastest execution rate. (PHP can also be accelerated by compiling)
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 (similar to c), easy to debug.
3. The performance machine is good.
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, Station machine. can even ... Write a command-line program. Write a graphical user interface. The most important thing is not money.
The environment in which PHP is probably running:
Server environment: Apache+mysql+php+phpmyadmin has a software called Appserv.exe integration of these.
Authoring tools for use: Macromedia Dreamweaver or EmEditor.

About the basic way to write PHP, PHP's Echo () statement shows, about 4 kinds of wording:

The most common access to system information
<?php phpinfo ();?>

And then write your own beginner's test:




<title> Bad Wolf PHP learning Test </title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">

<body>
<?php
echo "Buy a virtual host to find Bad Wolf!" www.winshell.cn "//Here is PHP to write content!
?>
</body>




Basically learn this first .... The main content in the future ....

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.