}
function details()
{
$this->import('action', 'zixun');
$id = input('id', 0, 'intval');
$find = Article::where('status', 1)->where('id', $id)->find();
$find->time = date('m-d-Y', $find->getData('create_time'));
$this->import('find', $find);
$zixun = Article::where('status', 1)->where('type', $find->type)->limit(3)->order('id desc')->select();
$this->import('zixun', $zixun);
return $this->output();
}
function hugong()
id | 405 |
USER | www |
HOME | /home/www |
HTTP_HOST | guangson.com.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.guangson.com.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.27.239.212 |
REMOTE_PORT | 34648 |
REMOTE_ADDR | 34.230.77.67 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.guangson.com.cn |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/index/details.html?id=405 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/index/details.html&id=405 |
SCRIPT_FILENAME | /www/wwwroot/www.guangson.com.cn/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711364.7618 |
REQUEST_TIME | 1711711364 |
PHP_OS_FAMILY | Linux |