PHP file is a file that can not be easily opened, many people have encountered the click of the PHP file after the computer display can not display, or open after a garbled form, we do not know what the meaning of the inside, in fact, PHP files for everyone is a strange file format, people are not common, also not used, Even the computer veteran may not be familiar with PHP files, today, the small series for you to introduce what is PHP files and the way PHP files open.
What is a php file?
PHP file name format is a program language format, more professional, is a kind of embedded HTML text scripting language, language style and C language similar, grammar in combination with C, Perl, Java and PHP's own innovative grammatical forms, often by the Web site programmers widely used. This file is generally performed on the server side, can take full advantage of the performance of the server, the speed of the execution of dynamic Web pages than CGL and Perl faster, its execution engine can also keep the frequently accessed programs in memory, the user on the next visit will not need to recompile the program, directly execute the retention code, very efficient.
PHP file is the most powerful feature of its database integration layer, with this feature, the use of PHP files to build a Web page with a database becomes very simple, PHP file function also depends on its compatibility with various databases, in addition to the use of HTTP communication, PHP files can also use IMAP, SNMP, POP3, and NNTP protocols.
How can the PHP file be opened?
PHP files are a web-based scripting program that can be opened with programming software. For professionals, using Dreamweaver Web authoring software or programming software to open php files and edit them, but for ordinary people, we can open with Notepad, this is more simple way.
Open method One: Use Notepad to open
1. Place your mouse on the PHP file you want to open and right-click.
2. Select "Notebook" in the "Open with" list, click "OK", then open, you can edit the php file in the notebook.
Open method Two: Open with Macromedia Dreamweaver Software
1, on Baidu directly search and download Macromedia Dreamweaver software, installed on the computer.
2, put the mouse on the PHP file you want to open, right-click, select "Open Mode" for Macromedia Dreamweaver software Open, click "OK".
3, in the Open interface, sitting on the three kinds of display: code, split, design, PHP files only code, so choose the most appropriate form of code, the other two ways can not view.
PHP File Open way is not complicated, I believe you see the introduction after all can master, but, PHP file opened is a form of code, the General people are very difficult to understand, it is recommended that you do not understand the PHP files do not arbitrarily change, especially important files, arbitrary changes may cause the file can not be positive.