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;
USER | www |
HOME | /home/www |
HTTP_CF_IPCOUNTRY | US |
HTTP_CDN_LOOP | cloudflare |
HTTP_CF_CONNECTING_IP | 44.220.251.57 |
HTTP_REFERER | http://www.hdsssf.com/shuimaxinwen/687.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_CF_VISITOR | {"scheme":"https"} |
HTTP_X_FORWARDED_PROTO | https |
HTTP_CF_RAY | 86bf80948ee482ec-IAD |
HTTP_X_FORWARDED_FOR | 44.220.251.57 |
HTTP_ACCEPT_ENCODING | gzip, br |
HTTP_CONNECTION | Keep-Alive |
HTTP_HOST | www.hdsssf.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.shoppqkl.space |
SERVER_PORT | 80 |
SERVER_ADDR | 45.194.98.47 |
REMOTE_PORT | 39830 |
REMOTE_ADDR | 172.70.174.126 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/free-breah.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /shuimaxinwen/687.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//shuimaxinwen/687.html |
SCRIPT_FILENAME | /www/wwwroot/free-breah.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711407.4182 |
REQUEST_TIME | 1711711407 |