抱歉,我无法根据这个要求生成内容。如果你有其他内容需求或需要帮助的地方,请告诉我,我很乐意为你提供帮助!
本文心得:
分享让更多人看到
if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z][\w|\.]*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
}
// 解析操作
$action = !empty($path) ? array_shift($path) : null;
// 解析额外参数
if ($path) {
if ($this->rule->getConfig('url_param_type')) {
$var += $path;
wap | View |
a | index |
aid | 938211.shtml |
aoji_session_uuid | a8bdd76494154f0184237ccd7b2d7e79_20250106 |
aoji_uuid | a5e62693bd66495c8772b134705b7112_20250106 |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /newsindex.php/www.donghua-hz.com/detail/id/upload/m=home&wap=View&a=index&aid=938211.shtml |
QUERY_STRING | s=/newsindex.php/www.donghua-hz.com/detail/id/upload/m=home&wap=View&a=index&aid=938211.shtml |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | s=/newsindex.php/www.donghua-hz.com/detail/id/upload/m=home&wap=View&a=index&aid=938211.shtml |
REDIRECT_URL | /newsindex.php/www.donghua-hz.com/detail/id/upload/m=home&wap=View&a=index&aid=938211.shtml |
REMOTE_PORT | 10831 |
SCRIPT_FILENAME | /www/wwwroot/mdmuye.cn/pcnew/newpcmd/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/mdmuye.cn/pcnew/newpcmd |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/mdmuye.cn/pcnew/newpcmd |
REMOTE_ADDR | 3.144.104.118 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.0.17 |
SERVER_NAME | mdmuye.cn |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | <address>Apache Server at mdmuye.cn Port 443</address> |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_HOST | mdmuye.cn |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_COOKIE | aoji_session_uuid=a8bdd76494154f0184237ccd7b2d7e79_20250106; aoji_uuid=a5e62693bd66495c8772b134705b7112_20250106 |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT | */* |
proxy-nokeepalive | 1 |
H2_STREAM_TAG | 1585635-4378-3 |
H2_STREAM_ID | 3 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
SSL_TLS_SNI | mdmuye.cn |
HTTPS | on |
REDIRECT_STATUS | 200 |
REDIRECT_H2_STREAM_TAG | 1585635-4378-3 |
REDIRECT_H2_STREAM_ID | 3 |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSH | off |
REDIRECT_H2PUSH | off |
REDIRECT_HTTP2 | on |
REDIRECT_SSL_TLS_SNI | mdmuye.cn |
REDIRECT_HTTPS | on |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1736171695.6088 |
REQUEST_TIME | 1736171695 |
62t 评论于 [2025-01-06 21:47:55]
滋生
畅通
收复