What is PHP?

Source: Internet
Author: User
Tags file upload mysql php code php script most popular database



PHP3.0 is now probably one of the hottest scripting languages on the Internet, a new type of CGI programming language that is fast and can run on a variety of platforms, such as Windows, Unix, Linux, and so on. Powerful functionality and ease of use have made it a favorite of countless WEB programmers since its inception. Many tasks that are difficult to implement with CGI or other methods, PHP can be done with just a few lines of simple code. Like the ASP, PHP code is embedded in the HTML, which also brings more convenience for programming.

PHP3.0 is, to a large extent, a mixture of many concepts such as Perl, Java, and C. Its grammatical structure is basically a reference to C, which makes PHP not difficult to learn, even novice, can easily access. It has built-in file upload, password authentication, Cookies operation, mail transceiver, dynamic GIF generation and other functions. Its most powerful feature is its database capabilities, which have never been easier to post a database online. It supports most popular database servers today, including MySQL, Oracle, Sybase, mSQL, Generic ODBC and PostgreSQL, and so on. This gives the WEB programmer a lot of choice, and when you change the platform, the PHP code does not change. We're going to discuss the PHP3.0 database interface in detail later, and we're going to specifically take MYSQL out to discuss its interface with PHP. MYSQL may be one of the most powerful database servers on the Internet today.

One important reason why PHP3.0 is so powerful is that it is a target-oriented (goal-oriented) language that is concise and fast when it comes to accomplishing tasks. Before you go on reading, the following points must be known:

1. PHP3.0 is the so-called server-side (server-side) scripting language, like the ASP, but there is a big difference between those client scripts like VbScript and JavaScript. In other words, before the PHP script can work, its interpreter must already be installed on the server. And to verify that there are no errors in the configuration. You can download this program in Http://www.php.net.

2. PHP3.0 has been completely written off, so it's not quite the same as PHP2.0 and PHP/F1. So be sure to figure out which version of PHP you are installing. There is no doubt that PHP3.0 is faster and stronger than its predecessors. All the syntax in this article is based on the PHP3.0 version.

3. After the installation and commissioning of the good PHP3.0, it is necessary to keep a document of documentation. This document lists all the commands and syntax structures that are essential to learning PHP.



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.