Home  >  Article  >  Backend Development  >  What file type is php?

What file type is php?

(*-*)浩
(*-*)浩Original
2019-09-18 09:49:044227browse

The name format of the php file is a programming language format. More professionally speaking, it is a scripting language embedded in HTML text. The language style is similar to the C language. The syntax combines C, Perl, and Java. As well as PHP's own innovative grammatical form, it is often widely used by website programmers.

What file type is php?

##This kind of file is generally executed on the server side, which can make full use of the performance of the server and execute dynamic web pages faster than CGL and Perl are faster, and their execution engines can also keep frequently accessed programs in memory. Users do not need to recompile the program the next time they access it, and can directly execute the retained code, which is very efficient. (Recommended learning:

PHP programming from entry to proficiency)

The most powerful feature of the php file is its database integration layer. With this feature, use the php file to create a database with The web page becomes very simple. The function of the php file also depends on its compatibility with various databases. In addition to using HTTP communication, php files can also use IMAP, SNMP, POP3 and NNTP protocols.

How to open a php file?

The php file is a web script program that can be opened using programming software. For professionals, you can use Dreamweaver web page creation software or programming software to open php files and edit them. However, for ordinary people, we can open them with Notepad, which is simpler.

Opening method one: Use Notepad to open

1. Place the mouse on the php file you want to open and right-click.

2. Select "Notebook" in the "Open with" list and click "OK". After opening, you can edit the php file in the notebook.

Opening method two: Use Macromedia Dreamweaver software to open

1. Search and download Macromedia Dreamweaver software directly on Baidu, and install it on your computer.

2. Place the mouse on the php file you want to open, right-click, select "Open with" to open it with Macromedia Dreamweaver software, and click "OK".

3. In the opened interface, there are three display methods: code, split, and design. There is only code in the php file, so the code form is the most appropriate. The other two methods cannot be viewed.

The above is the detailed content of What file type is php?. 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
Previous article:How to write files in phpNext article:How to write files in php