Home  >  Article  >  Backend Development  >  What does the file suffix php mean?

What does the file suffix php mean?

青灯夜游
青灯夜游Original
2019-10-19 17:19:534354browse

What does the file suffix php mean?

What does the file suffix php mean?

The file suffix php indicates that the file is a PHP script file, which is a web page script file embedded in HTML text.

php files are generally executed on the server side, which can fully utilize the performance of the server and execute dynamic web pages faster than CGL and Perl. Its execution engine can also keep frequently accessed programs in the memory. There is no need to recompile the program the next time you access it, you can directly execute the retained code, which is very efficient.

Introduction to PHP

PHP (foreign name: PHP: Hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a general open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language. The syntax absorbs the characteristics of C language, Java and Perl, which is easy to learn and widely used. It is mainly suitable for the field of Web development.

PHP is mainly used for server-side scripting programs, so you can use PHP to complete any work that other CGI programs can complete, such as collecting form data, generating dynamic web pages, or sending/receiving Cookies. But PHP’s capabilities go far beyond that.

PHP scripts are mainly used in the following three areas:

Server-side scripts. This is the most traditional and main target area of ​​PHP.

Command line script. You can write a PHP script and don't need any server or browser to run it. This way you only need the PHP parser to execute.

Write a client-side GUI application. PHP may not be the best language for window-based applications, but if you are very proficient in PHP and want to use some of PHP's advanced features in your client applications, you can take advantage of PHP-GTK to write these programs.

For more PHP related knowledge, please visit php中文网!

The above is the detailed content of What does the file suffix php mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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