$id=input('id');
if (empty($id)) {
echo '<script>window.close();</script>';//关闭当前页
}
$param=explode('-',$id);
if (empty($param[0])||empty($param[1])) {
echo '<script>window.close();</script>';//关闭当前页
}
$where['time']=$param[0];
$where['id']=$param[1];
$appset=db('appset')->where($where)->find();
if (empty($appset)) {
echo '<script>window.close();</script>';//关闭当前页
}
/*统计点击量*/
$date=strtotime(date('Y-m-d'));
$where_2['appid']=['in',$param[1]];
$where_2['date']=['in',$date];
$res=db('appstats2')->where($where_2)->find();
id | Resource |
param | [ "" ] |
where | { "time": "" } |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/web/a_517sc_com/public_html/index.php |
QUERY_STRING | s=/index/index/app.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index/index/app.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/web/a_517sc_com/public_html |
SERVER_PROTOCOL | HTTP/2.0 |
REQUEST_SCHEME | https |
HTTPS | on |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.18.0 |
REMOTE_ADDR | 35.175.236.44 |
REMOTE_PORT | 37896 |
SERVER_ADDR | 103.164.76.188 |
SERVER_PORT | 443 |
SERVER_NAME | a.517sc.com |
REDIRECT_STATUS | 200 |
PATH_INFO | /index/index/app.html |
HTTP_HOST | a.517sc.com |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_REFERER | https://a.517sc.com/index/index/app/id/1576028812-29.html |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711632776.1114 |
REQUEST_TIME | 1711632776 |
APP_PATH | /www/web/a_517sc_com/public_html/../application/ |
THINK_VERSION | 5.0.5 |
THINK_START_TIME | 1711632776.1119 |
THINK_START_MEM | 260088 |
EXT | .php |
DS | / |
THINK_PATH | /www/web/a_517sc_com/thinkphp/ |
LIB_PATH | /www/web/a_517sc_com/thinkphp/library/ |
CORE_PATH | /www/web/a_517sc_com/thinkphp/library/think/ |
TRAIT_PATH | /www/web/a_517sc_com/thinkphp/library/traits/ |
ROOT_PATH | /www/web/a_517sc_com/ |
EXTEND_PATH | /www/web/a_517sc_com/extend/ |
VENDOR_PATH | /www/web/a_517sc_com/vendor/ |
RUNTIME_PATH | /www/web/a_517sc_com/runtime/ |
LOG_PATH | /www/web/a_517sc_com/runtime/log/ |
CACHE_PATH | /www/web/a_517sc_com/runtime/cache/ |
TEMP_PATH | /www/web/a_517sc_com/runtime/temp/ |
CONF_PATH | /www/web/a_517sc_com/public_html/../application/ |
CONF_EXT | .php |
ENV_PREFIX | PHP_ |
IS_CLI | false |
IS_WIN | false |