if (false === $suffix) {
// 禁止伪静态访问
$this->path = $pathinfo;
} elseif ($suffix) {
// 去除正常的URL后缀
$this->path = preg_replace('/\.(' . ltrim($suffix, '.') . ')$/i', '', $pathinfo);
} else {
// 允许任何后缀访问
$this->path = preg_replace('/\.' . $this->ext() . '$/i', '', $pathinfo);
}
}
return $this->path;
}
/**
* 当前URL的访问后缀
* @access public
cht |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
REDIRECT_PATH_INFO | english-chinese/about heaping 3 spoonfuls (attached) for 35g of egg white). (As a substitute, use 1 teaspoon of lemon juice for each egg white.) |
REDIRECT_STATUS | 200 |
proxy-nokeepalive | 1 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | http://tw.xyzdict.com/english-chinese/about%20heaping%203%20spoonfuls%20%28attached%29%20for%2035g%20of%20egg%20white%29.%20%28As%20a%20substitute%2C%20use%201%20teaspoon%20of%20lemon%20juice%20for%20each%20egg%20white.%29 |
HTTP_HOST | www.xyzdict.com |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
LD_LIBRARY_PATH | /www/server/apache/lib |
SERVER_SIGNATURE | <address>Apache Server at www.xyzdict.com Port 80</address> |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.xyzdict.com |
SERVER_ADDR | 172.18.93.80 |
SERVER_PORT | 80 |
REMOTE_ADDR | 18.232.66.188 |
DOCUMENT_ROOT | /www/wwwroot/www.xyzdict.com |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/www.xyzdict.com |
SERVER_ADMIN | webmaster@example.com |
SCRIPT_FILENAME | /www/wwwroot/www.xyzdict.com/index.php |
REMOTE_PORT | 39356 |
REDIRECT_URL | /english-chinese/about heaping 3 spoonfuls (attached) for 35g of egg white). (As a substitute, use 1 teaspoon of lemon juice for each egg white.) |
REDIRECT_QUERY_STRING | cht |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | cht |
REQUEST_URI | /english-chinese/about%20heaping%203%20spoonfuls%20%28attached%29%20for%2035g%20of%20egg%20white%29.%20%28As%20a%20substitute%2C%20use%201%20teaspoon%20of%20lemon%20juice%20for%20each%20egg%20white.%29?cht |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711712036.1574 |
REQUEST_TIME | 1711712036 |
APK_DEF_AES_KEY | A3B6C9D0EF142857 |
APK_DEF_AES_IV | 3690ABCDEF142857 |
APK_NEW_AES_KEY | |
APK_NEW_AES_IV |