$arr = explode("/",$url);
$strarr = explode(".",$arr[2]);
$id = $strarr[0];
return $this->types($id);
}
public function tag()
{
$url = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$arr = explode("/",$url);
$strarr = explode(".",$arr[2]);
$id = $strarr[0];
return $this->tags($id);
}
public function index($cid)
{
//$cid = input('cid');
$cate_info = model('admin/article/Category')->find($cid);
if(!$cid || !$cate_info)
p | 36 |
USER | nobody |
HOME | / |
HTTP_HOST | www.netconst.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
REDIRECT_STATUS | 200 |
SERVER_NAME | wh-nac6uejjkugpu9pq10l.my3w.com |
SERVER_PORT | 80 |
SERVER_ADDR | 10.29.64.153 |
REMOTE_PORT | 36460 |
REMOTE_ADDR | 3.235.22.225 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /data/user/htdocs |
DOCUMENT_URI | /index.php//tag |
REQUEST_URI | /tag?p=36 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | p=36 |
PATH_INFO | //tag |
SCRIPT_FILENAME | /data/user/htdocs/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php//tag |
REQUEST_TIME_FLOAT | 1711727482.9722 |
REQUEST_TIME | 1711727482 |