$this->bind = $bind;
Db::$queryTimes++;
try {
// 调试开始
$this->debug(true);
// 预处理
$this->PDOStatement = $this->linkID->prepare($sql);
// 是否为存储过程调用
$procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']);
// 参数绑定
if ($procedure) {
$this->bindParam($bind);
} else {
$this->bindValue($bind);
gw_11480_0 | 1 |
USER | www |
HOME | /home/www |
HTTP_HOST | yhcko.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.yh596.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.26.193.191 |
REMOTE_PORT | 46020 |
REMOTE_ADDR | 34.205.2.207 |
SERVER_SOFTWARE | nginx/1.19.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.yh596.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/article/11480 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/index/article/11480 |
SCRIPT_FILENAME | /www/wwwroot/www.yh596.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711698219.9699 |
REQUEST_TIME | 1711698219 |