How to create a php file?
First right-click on a blank space on the desktop -> New -> Text file.
Then double-click to open the text file and enter the PHP code in it. , select file-> Save as...
Then enter your PHP file name, with the extension PHP.
Of course you can also use web page editing tools, which is more intuitive and convenient. For example: Dreamweaver, directly create a new web page file, select the PHP file and it is OK. Or use Notepad, SublimeText, phpstorm and other professional editors to create it!
For more PHP related knowledge, please visit PHP Chinese website!
The above is the detailed content of how to create php file. For more information, please follow other related articles on the PHP Chinese website!