Beginner-php Notes

Source: Internet
Author: User

PHP Introduction
  • PHP is the acronym for "PHP Hypertext Preprocessor"
  • PHP is a widely used open-source scripting language
  • PHP scripts are executed on the server
  • PHP has no cost and is free to download and use
  • It is strong enough to be the core of the largest blogging system on the Web ( WordPress)!
  • It's deep enough to run the biggest social network (Facebook)!
  • And its ease of use is enough to become the preferred server-side language for beginners!
  • PHP files can contain text,HTML,CSS , and php code
  • The PHP code executes on the server, and the result is returned in plain text to the browser
  • The suffix of the PHP file is ". php"
  • PHP can generate dynamic page content
  • PHP can create, open, read, write, delete, and close files on the server
  • PHP can receive form data
  • PHP can send and retrieve cookies
  • PHP can add, delete, and modify data in a database
  • PHP can restrict access to certain pages in the site
  • PHP is capable of encrypting data
PHP is an amazing popular language! PHP File PHP the Use

through PHP, you can not be limited to output HTMLonly. You can also export images,PDF files, and even Flash movies. You can also output any text, such as XHTML and XML.

Choice of PHP
    • PHP runs on various platforms (Windows, Linux, Unix, Mac OS X , etc.)
    • PHP compatible with almost any server (Apache, IIS, etc.)
    • PHP supports multiple databases
    • PHP is free of charge .
    • PHP is easy to learn and runs efficiently on the server side
Basic PHP Syntax

the PHP script can be placed anywhere in the document.

The PHP script begins with <?php and ends with ?> :

<? Php

Here is the PHP code

?>

Beginner-php Notes

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.