Introduction to...LOGIN

Introduction to PHP

PHP Introduction

PHP is a server-side scripting language.

Basic knowledge you should have

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

·          HTML

·            CSS

If you would like to learn these projects first, please visit these tutorials on our home page.


What is PHP?

php is a server-side scripting language embedded in HTML. What distinguishes PHP from other clients like Java is that its code is executed on the server side.

Web pages built purely using HTML are usually called static web pages.

PHP is the opposite, we become a dynamic web page.

· PHP (full name: PHP: Hypertext Preprocessor, that is, "PHP: Hypertext Preprocessor") is a general open source scripting language.

· PHP scripts are executed on the server.

· PHP can be downloaded and used for free.

PHP is simple and easy to learn for beginners.
PHP also provides many advanced features for professional programmers.

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 for PHP files is ".php"


What can PHP do and its advantages?

· 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 parts of your website Page

· PHP can encrypt data

· PHP has high security

· PHP supports a wide range of databases

· PHP executes quickly and takes up less resources Shao

· PHP supports object -oriented and process development

# · PHP embedded Zend accelerator, stable performance acceleration

With PHP, you are no longer limited to outputting HTML. You can export 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


Next Section
<?php echo "hello world!"; ?>
submitReset Code
ChapterCourseware