Home > Backend Development > PHP Tutorial > 1. PHP Tutorial_1. Introduction to PHP

1. PHP Tutorial_1. Introduction to PHP

WBOY
Release: 2016-08-08 09:19:23
Original
1140 people have browsed it

PHP is a server-side scripting language.

Before learning, you need to have a basic understanding of the following knowledge:

  • HTML
  • css

What is PHP?

  • PHP stands for PHP: Hypertext Preprocessor
  • PHP is a widely used open source scripting language
  • PHP is a script executed on the server
  • PHP can be downloaded and used for free

What is a PHP file?

  • PHP files can contain text, HTML, JavaScript code and PHP code
  • PHP code is executed on the server and the result is returned to the browser in the form of pure HTML
  • The default file extension of PHP files is ".PHP"

PHP What can it do?

  • PHP can generate dynamic page content
  • PHP can create, open, read, write, close files on the server
  • PHP can collect form data
  • PHP can send and accept cookies
  • PHP Can add, delete, modify data in your database
  • PHP can restrict users from accessing some pages on your website
  • PHP can encrypt data

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

Why use PHP

  • PHP can 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 extensive database support
  • PHP is free and can be downloaded from the official PHP resource: www .php.net
  • PHP is easy to learn and runs efficiently on the server side

The above has introduced 1. PHP Tutorial_1. Introduction to PHP, including aspects of content, I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template