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.
##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
Opening method two: Use Macromedia Dreamweaver software to open
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!