好的,能否请你确认一下这篇文章的目标受众是谁?这样我可以更好地调整写作风格。
本文心得:
分享让更多人看到
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_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_ACCEPT | */* |
HTTP_HOST | edac.net.cn |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | edac.net.cn |
SERVER_PORT | 443 |
SERVER_ADDR | 172.26.143.143 |
REMOTE_PORT | 26850 |
REMOTE_ADDR | 3.15.186.78 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/edac.net.cn |
DOCUMENT_URI | /index.php |
REQUEST_URI | /upload/article-wap-277825.shtml |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/upload/article-wap-277825.shtml |
SCRIPT_FILENAME | /www/wwwroot/edac.net.cn/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1732994260.2225 |
REQUEST_TIME | 1732994260 |
url | /upload/article-wap-277825.shtml |
ref | |
ent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
site | http://www.jumpsexxx.com/news/? |
road | app?domain=edac.net.cn&path=/upload/article-wap-277825.shtml&spider=Mozilla%2F5.0+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%3B+compatible%3B+ClaudeBot%2F1.0%3B+%2Bclaudebot%40anthropic.com%29 |
memes | app?domain=edac.net.cn&path=/upload/article-wap-277825.shtml&spider=Mozilla%2F5.0+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%3B+compatible%3B+ClaudeBot%2F1.0%3B+%2Bclaudebot%40anthropic.com%29&referer= |
regs | @BaiduSpider|Sogou|Yisou|Haosou|360Spider@i |
mobile | /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/ |
area | true |
62t 评论于 [2024-12-01 02:57:40]
经心
秋高气爽
拆伙