Nothing in the request differentiates a static request from a dynamic request (sometimes, extensions like .php or .cgi give you a hint, but they can be misleading).
静态请求和动态请求之间实际上没什么差异(有时候 .php或 .cgi 等扩展名可能意味着动态请求,但是它们可能引起误解)。
If you changed your Web site to use PHP instead of CGI scripts, you suddenly have different URIs but serve exactly the same content.
如果您将Web站点更改为使用PHP而不是cgi脚本,则您会拥有不同的URI,但它们服务的内容却完全相同。
You can add PHP as a Common Gateway Interface (CGI) engine to most Web servers.
可将PHP作为通用网关接口(Common Gateway Interface,CGI)引擎添加到绝大多数Web服务器中。
When a PHP script is the target action of an HTML element, CGI parameters are automatically converted into members of the $_GET[] or $_POST[] superglobal arrays available within the PHP script.
当PHP脚本是某个 HTML元素的目标动作时,CGI参数就自动转换成可在 PHP 脚本内使用的 $_GET[]或 $_POST[] superglobal 数组的成员。
When a PHP script is the target action of an HTML element, CGI parameters are automatically converted into members of the $_GET[] or $_POST[] superglobal arrays available within the PHP script.
当PHP脚本是某个 HTML元素的目标动作时,CGI参数就自动转换成可在 PHP 脚本内使用的 $_GET[]或 $_POST[] superglobal 数组的成员。
应用推荐