Introduction to...LOGIN

Introduction to PHP

Basic knowledge you should have

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

  • HTML

  • · CSS

<?php 
echo "Hello World!"; 
?>

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

What is PHP?

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 is simple and easy to learn for beginners.

PHP also provides many advanced features for professional programmers.

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 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 website

· PHP can encrypt data

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 platforms currently being used Server compatible (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 can run efficiently on the server side


Can be learned even with zero basic knowledge

Before learning PHP, many people worry about whether PHP can really be learned.

Learning PHP does not require high academic qualifications or high math skills. As long as you know the following, you can follow PHP Academy and start a pleasant and high-paying PHP learning journey:

· Have a computer

· Junior high school education level or above

· Must be able to type (both Wubi and Pinyin are acceptable)

· Be able to word (text editing software in Microsoft office software)

· Be able to surf the Internet (QQ, write emails, play WeChat, read novels, watch movies, register website accounts, online shopping, etc.)

· Have a persistent heart

· If you can A little HTML would be better. To learn HTML, you can go to our homepage and click on HTML tutorial

· What should I do if I don’t know HTML? You can also go to our homepage to see our HTML tutorials.


Next Section
<!DOCTYPE html> <html> <body> <?php echo "Hello World!"; ?> </body> </html>
submitReset Code
ChapterCourseware