Introduction to PHP

Source: Internet
Author: User

Introduction to PHP

PHP is the server-side scripting language.

The basics you should have

Before continuing with your study, you need to have a basic understanding of the following knowledge:

    • Html

    • Css

If you want to learn these items first, please visit these tutorials on our homepage.

What is PHP?
    • PHP (full name: Php:hypertext preprocessor, or "PHP: Hypertext Preprocessor") is a common open source scripting language.

    • The PHP script executes on the server.

    • PHP is free to download and use.

PHP is easy to learn for beginners.

PHP also offers a number of advanced features for professional programmers.

What is a PHP file?
    • PHP files can contain text, HTML, JavaScript code, and PHP code

    • PHP code executes on the server and results are returned to the browser in plain HTML

    • The default file name extension for PHP files is ". php"

What can PHP do?
    • PHP can generate dynamic page content

    • PHP can create, open, read, write, and close files on the server

    • PHP can collect form data

    • PHP can send and receive cookies

    • PHP can add, delete, and modify data in your database

    • PHP can restrict users from accessing some pages on your site

    • PHP can encrypt data

With PHP, you are no longer limited to outputting HTML. You can export images, PDF files, or even Flash movies. You can also export arbitrary text, such as XHTML and XML.

Why use PHP?
    • PHP can be run on different platforms (Windows, Linux, Unix, Mac OS X, etc.)

    • PHP is compatible with almost all servers currently in use (Apache, IIS, etc.)

    • PHP provides a wide range of database support

    • PHP is free and can be downloaded from the official PHP resources: www.php.net

    • PHP is easy to learn and runs efficiently on the server side

Introduction to 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.