248cc永利集团官网线路(中国)-Baidu百科

[8] ErrorException in Verify.php line 176

Use of undefined constant NOW_TIME - assumed 'NOW_TIME'

  1. imagettftext($this->_image, $this->fontSize, mt_rand(-40, 40), $codeNX, $this->fontSize*1.6, $this->_color, $this->fontttf, $code[$i]);
  2. }
  3. }
  4. // 保存验证码
  5. $key = $this->authcode($this->seKey);
  6. $code = $this->authcode(strtoupper(implode('', $code)));
  7. $secode = array();
  8. $secode['verify_code'] = $code; // 把校验码保存到session
  9. $secode['verify_time'] = NOW_TIME; // 验证码创建时间
  10. session($key.$id, $secode);
  11. // ob_clean();
  12. header('Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate');
  13. header('Cache-Control: post-check=0, pre-check=0', false);
  14. header('Pragma: no-cache');
  15. header("content-type: image/png");
  16. // 输出图像
  17. imagepng($this->_image);

Call Stack

  1. in Verify.php line 176
  2. at Error::appError(8, 'Use of undefined con...', '/www/wwwroot/www.sha...', 176, ['id' => 'liuyan_vertify', 'ttfPath' => '/www/wwwroot/www.sha...', 'dir' => object(Directory), ...]) in Verify.php line 176
  3. at Verify->entry('liuyan_vertify') in Liuyan.php line 52
  4. at Liuyan->vertify()
  5. at ReflectionMethod->invokeArgs(object(Liuyan), []) in App.php line 343
  6. at App::invokeMethod([object(Liuyan), 'vertify'], []) in App.php line 611
  7. at App::module(['index', 'liuyan', 'vertify'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  8. at App::exec(['type' => 'module', 'module' => ['index', 'liuyan', 'vertify']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/www/wwwroot/www.sha...') in index.php line 24

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
sb0g0o1tmi67p3jme497mgmsv7
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/www.shanxiangfangshui.cn/public/index.php
QUERY_STRING
s=/index/liuyan/vertify.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
//index/liuyan/vertify.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/www.shanxiangfangshui.cn/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.14.2
REMOTE_ADDR
170.130.206.94
REMOTE_PORT
60690
SERVER_ADDR
172.17.62.119
SERVER_PORT
80
SERVER_NAME
www.shanxiangfangshui.cn
REDIRECT_STATUS
200
PATH_INFO
/index/liuyan/vertify.html
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_HOST
www.shanxiangfangshui.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip
HTTP_COOKIE
PHPSESSID=sb0g0o1tmi67p3jme497mgmsv7
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1716114503.0525
REQUEST_TIME
1716114503
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.shanxiangfangshui.cn/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1716114503.0531
THINK_START_MEM
264120
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.shanxiangfangshui.cn/thinkphp/
LIB_PATH
/www/wwwroot/www.shanxiangfangshui.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/www.shanxiangfangshui.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.shanxiangfangshui.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.shanxiangfangshui.cn/
EXTEND_PATH
/www/wwwroot/www.shanxiangfangshui.cn/extend/
VENDOR_PATH
/www/wwwroot/www.shanxiangfangshui.cn/vendor/
RUNTIME_PATH
/www/wwwroot/www.shanxiangfangshui.cn/runtime/
LOG_PATH
/www/wwwroot/www.shanxiangfangshui.cn/runtime/log/
CACHE_PATH
/www/wwwroot/www.shanxiangfangshui.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/www.shanxiangfangshui.cn/runtime/temp/
CONF_PATH
/www/wwwroot/www.shanxiangfangshui.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
PHP_INT_MIN
-9223372036854775808
ADDON_PATH
/www/wwwroot/www.shanxiangfangshui.cn/addons/
MODULE_NAME
index
CONTROLLER_NAME
Liuyan
ACTION_NAME
vertify