.PHP 文件扩展名

PHP Source Code File

开发者 The PHP Group
受欢迎程度
4.1  |  649 
 
🔍使用File Helper直接在您的网络浏览器中打开 .PHP 文件在线查看

什么是 PHP 文件?

A PHP file is a webpage that contains PHP (Hypertext Preprocessor) code. It may include PHP functions that can process online forms, get the date and time, or access information from a database, such as a MySQL database.

更多信息

在 Adobe Dreamweaver 2021 中打开的 .php 文件截图
在 Adobe Dreamweaver 2021 中打开的 PHP 文件

PHP files are typically only used by web developers who are creating or modifying them when developing webpages with extended functionality. However, average users may download PHP files from a webpage using a web browser, such as Google Chrome or Mozilla Firefox.

The PHP code within the webpage is processed (parsed) by a PHP engine on the web server, which dynamically generates HTML. The HTML, which contains the webpage content, is then sent to the user's web browser. Therefore, the user never sees the actual PHP code contained in the webpage, even when viewing the page source.

常见 .PHP 文件名

index.php - Often the default file to be loaded when a client Web browser requests a directory from a PHP-enabled Web server. For example, if http://sampledomain.com/ is requested, http://sampledomain.com/index.php is loaded.

如何打开 PHP 文件

You can open and edit PHP files with various source code editors and PHP-dedicated applications with IDEs. Examples of these programs include Eclipse PHP Development Tools (Windows and macOS), MPSoftware phpDesigner (Windows), Adobe Dreamweaver (Windows and macOS), Zend Studio (multiplatform), and Microsoft Visual Studio Code (multiplatform).

Since PHP files are saved in plain text, you can also open them with text editors, including Microsoft Notepad (bundled with Windows) and Apple TextEdit (bundled with macOS).

可打开 PHP 文件的程序

分类: 网页
更新时间: 2021-08-19

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 PHP Source Code 文件格式和 Mac, Windows, Linux, Android, and iOS 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们