search
HomePHP LibrariesMail class libraryFull version of php email sending class
Full version of php email sending classFull version of php email sending class, supports sending plain text emails and emails in HTML format, with multiple recipients, multiple CCs, and multiple secret CCs , emails with attachments, required php extensions, sockets and Fileinfo.
Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

CodeIgniter's method of sending emails based on the Email class, codeigniteremail_PHP tutorialCodeIgniter's method of sending emails based on the Email class, codeigniteremail_PHP tutorial

12Jul2016

CodeIgniter is based on the Email class method of sending emails, codeigniteremail. CodeIgniter's method of sending emails based on the Email class, codeigniteremail This article describes the example of CodeIgniter's method of sending emails based on the Email class. Share it with everyone for your reference, the details are as follows: C

PHP implements the function of adding email sending in the site, PHP email sending_PHP tutorialPHP implements the function of adding email sending in the site, PHP email sending_PHP tutorial

12Jul2016

PHP implements the function of adding email sending in the site, PHP email sending. PHP implements the function of adding email sending to the site. PHP Email Sending Next, Summer Blog will talk about how to add an email sending function to the site. First you need to download an s

PHP PDO common class library example analysis, pdo class library example analysis_PHP tutorialPHP PDO common class library example analysis, pdo class library example analysis_PHP tutorial

12Jul2016

PHP PDO common class library example analysis, pdo class library example analysis. Example analysis of PHP's PDO common class library, pdo class library example analysis This article describes PHP's PDO common class library with examples. Share it with everyone for your reference, the details are as follows: 1. Db.class.php connects to the database

PHP uses the Mysqli class library to achieve perfect paging effect, mysqli class library_PHP tutorialPHP uses the Mysqli class library to achieve perfect paging effect, mysqli class library_PHP tutorial

12Jul2016

PHP uses the Mysqli class library to achieve perfect paging effects, the mysqli class library. How PHP uses the Mysqli class library to achieve perfect paging effects, mysqli class library This article describes how PHP uses the Mysqli class library to achieve perfect paging effects. Share it with everyone for your reference.




    
    System Error
    
    
    
        /* Base */
        body {
            color: #333;
            font: 14px Verdana, 'Helvetica Neue', helvetica, Arial, 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0 20px 20px;
            word-break: break-word;
        }
        h1{
            margin: 10px 0 0;
            font-size: 28px;
            font-weight: 500;
            line-height: 32px;
        }
        h2{
            color: #4288ce;
            font-weight: 400;
            padding: 6px 0;
            margin: 6px 0 0;
            font-size: 18px;
            border-bottom: 1px solid #eee;
        }
        h3.subheading {
            color: #4288ce;
            margin: 6px 0 0;
            font-weight: 400;
        }
        h3{
            margin: 12px;
            font-size: 16px;
            font-weight: bold;
        }
        abbr{
            cursor: help;
            text-decoration: underline;
            text-decoration-style: dotted;
        }
        a{
            color: #868686;
            cursor: pointer;
        }
        a:hover{
            text-decoration: underline;
        }
        .line-error{
            background: #f8cbcb;
        }

        .echo table {
            width: 100%;
        }

        .echo pre {
            padding: 16px;
            overflow: auto;
            font-size: 85%;
            line-height: 1.45;
            background-color: #f7f7f7;
            border: 0;
            border-radius: 3px;
            font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
        }

        .echo pre > pre {
            padding: 0;
            margin: 0;
        }
        /* Layout */
        .col-md-3 {
            width: 25%;
        }
        .col-md-9 {
            width: 75%;
        }
        [class^='col-md-'] {
            float: left;
        }
        .clearfix {
            clear:both;
        }
        @media only screen 
        and (min-device-width : 375px) 
        and (max-device-width : 667px) { 
            .col-md-3,
            .col-md-9 {
                width: 100%;
            }
        }
        /* Exception Info */
        .exception {
            margin-top: 20px;
        }
        .exception .message{
            padding: 12px;
            border: 1px solid #ddd;
            border-bottom: 0 none;
            line-height: 18px;
            font-size:16px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑';
        }

        .exception .code{
            float: left;
            text-align: center;
            color: #fff;
            margin-right: 12px;
            padding: 16px;
            border-radius: 4px;
            background: #999;
        }
        .exception .source-code{
            padding: 6px;
            border: 1px solid #ddd;

            background: #f9f9f9;
            overflow-x: auto;

        }
        .exception .source-code pre{
            margin: 0;
        }
        .exception .source-code pre ol{
            margin: 0;
            color: #4288ce;
            display: inline-block;
            min-width: 100%;
            box-sizing: border-box;
        font-size:14px;
            font-family: 'Century Gothic',Consolas,'Liberation Mono',Courier,Verdana;
            padding-left: 56px;
        }
        .exception .source-code pre li{
            border-left: 1px solid #ddd;
            height: 18px;
            line-height: 18px;
        }
        .exception .source-code pre code{
            color: #333;
            height: 100%;
            display: inline-block;
            border-left: 1px solid #fff;
        font-size:14px;
            font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑';
        }
        .exception .trace{
            padding: 6px;
            border: 1px solid #ddd;
            border-top: 0 none;
            line-height: 16px;
        font-size:14px;
            font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑';
        }
        .exception .trace ol{
            margin: 12px;
        }
        .exception .trace ol li{
            padding: 2px 4px;
        }
        .exception div:last-child{
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        /* Exception Variables */
        .exception-var table{
            width: 100%;
            margin: 12px 0;
            box-sizing: border-box;
            table-layout:fixed;
            word-wrap:break-word;            
        }
        .exception-var table caption{
            text-align: left;
            font-size: 16px;
            font-weight: bold;
            padding: 6px 0;
        }
        .exception-var table caption small{
            font-weight: 300;
            display: inline-block;
            margin-left: 10px;
            color: #ccc;
        }
        .exception-var table tbody{
            font-size: 13px;
            font-family: Consolas,'Liberation Mono',Courier,'微软雅黑';
        }
        .exception-var table td{
            padding: 0 6px;
            vertical-align: top;
            word-break: break-all;
        }
        .exception-var table td:first-child{
            width: 28%;
            font-weight: bold;
            white-space: nowrap;
        }
        .exception-var table td pre{
            margin: 0;
        }

        /* Copyright Info */
        .copyright{
            margin-top: 24px;
            padding: 12px 0;
            border-top: 1px solid #eee;
        }

        /* SPAN elements with the classes below are added by prettyprint. */
        pre.prettyprint .pln { color: #000 }  /* plain text */
        pre.prettyprint .str { color: #080 }  /* string content */
        pre.prettyprint .kwd { color: #008 }  /* a keyword */
        pre.prettyprint .com { color: #800 }  /* a comment */
        pre.prettyprint .typ { color: #606 }  /* a type name */
        pre.prettyprint .lit { color: #066 }  /* a literal value */
        /* punctuation, lisp open bracket, lisp close bracket */
        pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 }
        pre.prettyprint .tag { color: #008 }  /* a markup tag name */
        pre.prettyprint .atn { color: #606 }  /* a markup attribute name */
        pre.prettyprint .atv { color: #080 }  /* a markup attribute value */
        pre.prettyprint .dec, pre.prettyprint .var { color: #606 }  /* a declaration; a variable name */
        pre.prettyprint .fun { color: red }  /* a function name */
    


    
            
        
    
        
            
                
                    [0] ThrowableError in Index.php line 220
                
                语法解析错误: syntax error, unexpected '}'
            
        
    
	        
                    if($res){
            return json_encode(array('code'=>1,'msg'=>'成功'));
        }else{
            return json_encode(array('code'=>0,'msg'=>'失败'));
        }
    }

    public function 

}

        
	        
            Call Stack
            
                in Index.php line 220
                                
                at think\__include_file() in Loader.php line 85                
                                
                at Loader::autoload()                
                                
                at spl_autoload_call()                
                                
                at class_exists() in Loader.php line 478                
                                
                at Loader::controller() in App.php line 580                
                                
                at App::module() in App.php line 456                
                                
                at App::exec() in App.php line 139                
                                
                at App::run() in start.php line 19                
                                
                at require('/data/wwwroot/td.880...') in index.php line 23                
                            
        
    
        
    
        
        Environment Variables
                
                        GET Data
            
                                
                    content
                    
                        Stalker 2: Heart Of Chornobyl - Complete Guide And Walkthroughs                    
                
                                
                    to
                    
                        en                    
                
                            
                    
                
                        
                POST Data
                empty
            
                    
                
                        
                Files
                empty
            
                    
                
                        Cookies
            
                                
                    myip
                    
                        65.21.47.162                    
                
                            
                    
                
                        
                Session
                empty
            
                    
                
                        Server/Request Data
            
                                
                    TEMP
                    
                        /tmp                    
                
                                
                    TMPDIR
                    
                        /tmp                    
                
                                
                    TMP
                    
                        /tmp                    
                
                                
                    PATH
                    
                        /usr/local/bin:/usr/bin:/bin                    
                
                                
                    USER
                    
                        www                    
                
                                
                    HOME
                    
                        /home/www                    
                
                                
                    HTTP_CONTENT_TYPE
                    
                        application/x-www-form-urlencoded;charset=UTF-8                    
                
                                
                    HTTP_CONNECTION
                    
                        Keep-Alive                    
                
                                
                    HTTP_COOKIE
                    
                        myip=65.21.47.162                    
                
                                
                    HTTP_ACCEPT_ENCODING
                    
                        gzip                    
                
                                
                    HTTP_ACCEPT
                    
                        */*                    
                
                                
                    HTTP_USER_AGENT
                    
                        Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)                    
                
                                
                    HTTP_HOST
                    
                        td.880772.xyz                    
                
                                
                    PATH_INFO
                    
                        /api/index/fanyi_article_title                    
                
                                
                    REDIRECT_STATUS
                    
                        200                    
                
                                
                    SERVER_NAME
                    
                        td.880772.xyz                    
                
                                
                    SERVER_PORT
                    
                        443                    
                
                                
                    SERVER_ADDR
                    
                        188.165.242.95                    
                
                                
                    REMOTE_PORT
                    
                        19512                    
                
                                
                    REMOTE_ADDR
                    
                        65.21.47.162                    
                
                                
                    SERVER_SOFTWARE
                    
                        nginx/1.20.2                    
                
                                
                    GATEWAY_INTERFACE
                    
                        CGI/1.1                    
                
                                
                    HTTPS
                    
                        on                    
                
                                
                    REQUEST_SCHEME
                    
                        https                    
                
                                
                    SERVER_PROTOCOL
                    
                        HTTP/1.1                    
                
                                
                    DOCUMENT_ROOT
                    
                        /data/wwwroot/td.880772.xyz/public                    
                
                                
                    DOCUMENT_URI
                    
                        /index.php                    
                
                                
                    REQUEST_URI
                    
                        /api/index/fanyi_article_title?content=Stalker+2%3A+Heart+Of+Chornobyl+-+Complete+Guide+And+Walkthroughs&to=en                    
                
                                
                    SCRIPT_NAME
                    
                        /index.php                    
                
                                
                    CONTENT_LENGTH
                    
                                            
                
                                
                    CONTENT_TYPE
                    
                        application/x-www-form-urlencoded;charset=UTF-8                    
                
                                
                    REQUEST_METHOD
                    
                        GET                    
                
                                
                    QUERY_STRING
                    
                        s=/api/index/fanyi_article_title&content=Stalker+2%3A+Heart+Of+Chornobyl+-+Complete+Guide+And+Walkthroughs&to=en                    
                
                                
                    SCRIPT_FILENAME
                    
                        /data/wwwroot/td.880772.xyz/public/index.php                    
                
                                
                    PHP_VALUE
                    
                        open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/                    
                
                                
                    FCGI_ROLE
                    
                        RESPONDER                    
                
                                
                    PHP_SELF
                    
                        /index.php                    
                
                                
                    REQUEST_TIME_FLOAT
                    
                        1732297810.928                    
                
                                
                    REQUEST_TIME
                    
                        1732297810                    
                
                            
                    
                
                        
                Environment Variables
                empty
            
                    
                
                        ThinkPHP Constants
            
                                
                    PUBLIC_PATH
                    
                        /data/wwwroot/td.880772.xyz/public/../public/                    
                
                                
                    APP_PATH
                    
                        /data/wwwroot/td.880772.xyz/public/../application/                    
                
                                
                    THINK_VERSION
                    
                        5.0.24                    
                
                                
                    THINK_START_TIME
                    
                        1732297810.9285                    
                
                                
                    THINK_START_MEM
                    
                        410192                    
                
                                
                    EXT
                    
                        .php                    
                
                                
                    DS
                    
                        /                    
                
                                
                    THINK_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/                    
                
                                
                    LIB_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/library/                    
                
                                
                    CORE_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/library/think/                    
                
                                
                    TRAIT_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/library/traits/                    
                
                                
                    ROOT_PATH
                    
                        /data/wwwroot/td.880772.xyz/                    
                
                                
                    EXTEND_PATH
                    
                        /data/wwwroot/td.880772.xyz/extend/                    
                
                                
                    VENDOR_PATH
                    
                        /data/wwwroot/td.880772.xyz/vendor/                    
                
                                
                    RUNTIME_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/                    
                
                                
                    LOG_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/log/                    
                
                                
                    CACHE_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/cache/                    
                
                                
                    TEMP_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/temp/                    
                
                                
                    CONF_PATH
                    
                        /data/wwwroot/td.880772.xyz/public/../application/                    
                
                                
                    CONF_EXT
                    
                        .php                    
                
                                
                    ENV_PREFIX
                    
                        PHP_                    
                
                                
                    IS_CLI
                    
                        false                    
                
                                
                    IS_WIN
                    
                        false                    
                
                                
                    FILTER_VALIDATE_BOOL
                    
                        258                    
                
                                
                    ADDON_PATH
                    
                        /data/wwwroot/td.880772.xyz/addons/                    
                
                            
                    
            
    
    
        ThinkPHP 
        V5.0.24 
        { 十年磨一剑-为API开发设计的高性能框架 }
    
        
        var LINE = 220;

        function $(selector, node){
            var elements;

            node = node || document;
            if(document.querySelectorAll){
                elements = node.querySelectorAll(selector);
            } else {
                switch(selector.substr(0, 1)){
                    case '#':
                        elements = [node.getElementById(selector.substr(1))];
                        break;
                    case '.':
                        if(document.getElementsByClassName){
                            elements = node.getElementsByClassName(selector.substr(1));
                        } else {
                            elements = get_elements_by_class(selector.substr(1), node);
                        }
                        break;
                    default:
                        elements = node.getElementsByTagName();
                }
            }
            return elements;

            function get_elements_by_class(search_class, node, tag) {
                var elements = [], eles, 
                    pattern  = new RegExp('(^|\\s)' + search_class + '(\\s|$)');

                node = node || document;
                tag  = tag  || '*';

                eles = node.getElementsByTagName(tag);
                for(var i = 0; i < eles.length; i++) {
                    if(pattern.test(eles[i].className)) {
                        elements.push(eles[i])
                    }
                }

                return elements;
            }
        }

        $.getScript = function(src, func){
            var script = document.createElement('script');
            
            script.async  = 'async';
            script.src    = src;
            script.onload = func || function(){};
            
            $('head')[0].appendChild(script);
        }

        ;(function(){
            var files = $('.toggle');
            var ol    = $('ol', $('.prettyprint')[0]);
            var li    = $('li', ol[0]);   

            // 短路径和长路径变换
            for(var i = 0; i < files.length; i++){
                files[i].ondblclick = function(){
                    var title = this.title;

                    this.title = this.innerHTML;
                    this.innerHTML = title;
                }
            }

            // 设置出错行
            var err_line = $('.line-' + LINE, ol[0])[0];
            err_line.className = err_line.className + ' line-error';

            $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){
                prettyPrint();

                // 解决Firefox浏览器一个很诡异的问题
                // 当代码高亮后,ol的行号莫名其妙的错位
                // 但是只要刷新li里面的html重新渲染就没有问题了
                if(window.navigator.userAgent.indexOf('Firefox') >= 0){
                    ol[0].innerHTML = ol[0].innerHTML;
                }
            });

        })();
    
    
System Error /* Base */ body { color: #333; font: 14px Verdana, 'Helvetica Neue', helvetica, Arial, 'Microsoft YaHei', sans-serif; margin: 0; padding: 0 20px 20px; word-break: break-word; } h1{ margin: 10px 0 0; font-size: 28px; font-weight: 500; line-height: 32px; } h2{ color: #4288ce; font-weight: 400; padding: 6px 0; margin: 6px 0 0; font-size: 18px; border-bottom: 1px solid #eee; } h3.subheading { color: #4288ce; margin: 6px 0 0; font-weight: 400; } h3{ margin: 12px; font-size: 16px; font-weight: bold; } abbr{ cursor: help; text-decoration: underline; text-decoration-style: dotted; } a{ color: #868686; cursor: pointer; } a:hover{ text-decoration: underline; } .line-error{ background: #f8cbcb; } .echo table { width: 100%; } .echo pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border: 0; border-radius: 3px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } .echo pre > pre { padding: 0; margin: 0; } /* Layout */ .col-md-3 { width: 25%; } .col-md-9 { width: 75%; } [class^='col-md-'] { float: left; } .clearfix { clear:both; } @media only screen and (min-device-width : 375px) and (max-device-width : 667px) { .col-md-3, .col-md-9 { width: 100%; } } /* Exception Info */ .exception { margin-top: 20px; } .exception .message{ padding: 12px; border: 1px solid #ddd; border-bottom: 0 none; line-height: 18px; font-size:16px; border-top-left-radius: 4px; border-top-right-radius: 4px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .code{ float: left; text-align: center; color: #fff; margin-right: 12px; padding: 16px; border-radius: 4px; background: #999; } .exception .source-code{ padding: 6px; border: 1px solid #ddd; background: #f9f9f9; overflow-x: auto; } .exception .source-code pre{ margin: 0; } .exception .source-code pre ol{ margin: 0; color: #4288ce; display: inline-block; min-width: 100%; box-sizing: border-box; font-size:14px; font-family: 'Century Gothic',Consolas,'Liberation Mono',Courier,Verdana; padding-left: 56px; } .exception .source-code pre li{ border-left: 1px solid #ddd; height: 18px; line-height: 18px; } .exception .source-code pre code{ color: #333; height: 100%; display: inline-block; border-left: 1px solid #fff; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace{ padding: 6px; border: 1px solid #ddd; border-top: 0 none; line-height: 16px; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace ol{ margin: 12px; } .exception .trace ol li{ padding: 2px 4px; } .exception div:last-child{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } /* Exception Variables */ .exception-var table{ width: 100%; margin: 12px 0; box-sizing: border-box; table-layout:fixed; word-wrap:break-word; } .exception-var table caption{ text-align: left; font-size: 16px; font-weight: bold; padding: 6px 0; } .exception-var table caption small{ font-weight: 300; display: inline-block; margin-left: 10px; color: #ccc; } .exception-var table tbody{ font-size: 13px; font-family: Consolas,'Liberation Mono',Courier,'微软雅黑'; } .exception-var table td{ padding: 0 6px; vertical-align: top; word-break: break-all; } .exception-var table td:first-child{ width: 28%; font-weight: bold; white-space: nowrap; } .exception-var table td pre{ margin: 0; } /* Copyright Info */ .copyright{ margin-top: 24px; padding: 12px 0; border-top: 1px solid #eee; } /* SPAN elements with the classes below are added by prettyprint. */ pre.prettyprint .pln { color: #000 } /* plain text */ pre.prettyprint .str { color: #080 } /* string content */ pre.prettyprint .kwd { color: #008 } /* a keyword */ pre.prettyprint .com { color: #800 } /* a comment */ pre.prettyprint .typ { color: #606 } /* a type name */ pre.prettyprint .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 } pre.prettyprint .tag { color: #008 } /* a markup tag name */ pre.prettyprint .atn { color: #606 } /* a markup attribute name */ pre.prettyprint .atv { color: #080 } /* a markup attribute value */ pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */ pre.prettyprint .fun { color: red } /* a function name */ [0] ThrowableError in Index.php line 220 语法解析错误: syntax error, unexpected '}' if($res){ return json_encode(array('code'=>1,'msg'=>'成功')); }else{ return json_encode(array('code'=>0,'msg'=>'失败')); } } public function } Call Stack in Index.php line 220 at think\__include_file() in Loader.php line 85 at Loader::autoload() at spl_autoload_call() at class_exists() in Loader.php line 478 at Loader::controller() in App.php line 580 at App::module() in App.php line 456 at App::exec() in App.php line 139 at App::run() in start.php line 19 at require('/data/wwwroot/td.880...') in index.php line 23 Environment Variables GET Data content Stalker 2: Heart Of Chornobyl - Complete Guide And Walkthroughs to en POST Data empty Files empty Cookies myip 65.21.47.162 Session empty Server/Request Data TEMP /tmp TMPDIR /tmp TMP /tmp PATH /usr/local/bin:/usr/bin:/bin USER www HOME /home/www HTTP_CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 HTTP_CONNECTION Keep-Alive HTTP_COOKIE myip=65.21.47.162 HTTP_ACCEPT_ENCODING gzip HTTP_ACCEPT */* HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1) HTTP_HOST td.880772.xyz PATH_INFO /api/index/fanyi_article_title REDIRECT_STATUS 200 SERVER_NAME td.880772.xyz SERVER_PORT 443 SERVER_ADDR 188.165.242.95 REMOTE_PORT 19512 REMOTE_ADDR 65.21.47.162 SERVER_SOFTWARE nginx/1.20.2 GATEWAY_INTERFACE CGI/1.1 HTTPS on REQUEST_SCHEME https SERVER_PROTOCOL HTTP/1.1 DOCUMENT_ROOT /data/wwwroot/td.880772.xyz/public DOCUMENT_URI /index.php REQUEST_URI /api/index/fanyi_article_title?content=Stalker+2%3A+Heart+Of+Chornobyl+-+Complete+Guide+And+Walkthroughs&to=en SCRIPT_NAME /index.php CONTENT_LENGTH CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 REQUEST_METHOD GET QUERY_STRING s=/api/index/fanyi_article_title&content=Stalker+2%3A+Heart+Of+Chornobyl+-+Complete+Guide+And+Walkthroughs&to=en SCRIPT_FILENAME /data/wwwroot/td.880772.xyz/public/index.php PHP_VALUE open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/ FCGI_ROLE RESPONDER PHP_SELF /index.php REQUEST_TIME_FLOAT 1732297810.928 REQUEST_TIME 1732297810 Environment Variables empty ThinkPHP Constants PUBLIC_PATH /data/wwwroot/td.880772.xyz/public/../public/ APP_PATH /data/wwwroot/td.880772.xyz/public/../application/ THINK_VERSION 5.0.24 THINK_START_TIME 1732297810.9285 THINK_START_MEM 410192 EXT .php DS / THINK_PATH /data/wwwroot/td.880772.xyz/thinkphp/ LIB_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/ CORE_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/think/ TRAIT_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/traits/ ROOT_PATH /data/wwwroot/td.880772.xyz/ EXTEND_PATH /data/wwwroot/td.880772.xyz/extend/ VENDOR_PATH /data/wwwroot/td.880772.xyz/vendor/ RUNTIME_PATH /data/wwwroot/td.880772.xyz/runtime/ LOG_PATH /data/wwwroot/td.880772.xyz/runtime/log/ CACHE_PATH /data/wwwroot/td.880772.xyz/runtime/cache/ TEMP_PATH /data/wwwroot/td.880772.xyz/runtime/temp/ CONF_PATH /data/wwwroot/td.880772.xyz/public/../application/ CONF_EXT .php ENV_PREFIX PHP_ IS_CLI false IS_WIN false FILTER_VALIDATE_BOOL 258 ADDON_PATH /data/wwwroot/td.880772.xyz/addons/ ThinkPHP V5.0.24 { 十年磨一剑-为API开发设计的高性能框架 } var LINE = 220; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })();

23Nov2024

System Error

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
You'll realize just how big Stalker 2: Heart Of Chornobyl is when you download it already since it takes a massive 150GB of space on your device. Apart from the giant area taken by the Zone, you also go through various cutscenes in what feels
to
en
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
19514
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=You%27ll+realize+just+how+big+Stalker+2%3A+Heart+Of+Chornobyl+is+when+you+download+it+already+since+it+takes+a+massive+150GB+of+space+on+your+device.+Apart+from+the+giant+area+taken+by+the+Zone%2C+you+also+go+through+various+cutscenes+in+what+feels&to=en
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=You%27ll+realize+just+how+big+Stalker+2%3A+Heart+Of+Chornobyl+is+when+you+download+it+already+since+it+takes+a+massive+150GB+of+space+on+your+device.+Apart+from+the+giant+area+taken+by+the+Zone%2C+you+also+go+through+various+cutscenes+in+what+feels&to=en
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732297811.176
REQUEST_TIME
1732297811
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732297811.1765
THINK_START_MEM
410640
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/




    
    System Error
    
    
    
        /* Base */
        body {
            color: #333;
            font: 14px Verdana, 'Helvetica Neue', helvetica, Arial, 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0 20px 20px;
            word-break: break-word;
        }
        h1{
            margin: 10px 0 0;
            font-size: 28px;
            font-weight: 500;
            line-height: 32px;
        }
        h2{
            color: #4288ce;
            font-weight: 400;
            padding: 6px 0;
            margin: 6px 0 0;
            font-size: 18px;
            border-bottom: 1px solid #eee;
        }
        h3.subheading {
            color: #4288ce;
            margin: 6px 0 0;
            font-weight: 400;
        }
        h3{
            margin: 12px;
            font-size: 16px;
            font-weight: bold;
        }
        abbr{
            cursor: help;
            text-decoration: underline;
            text-decoration-style: dotted;
        }
        a{
            color: #868686;
            cursor: pointer;
        }
        a:hover{
            text-decoration: underline;
        }
        .line-error{
            background: #f8cbcb;
        }

        .echo table {
            width: 100%;
        }

        .echo pre {
            padding: 16px;
            overflow: auto;
            font-size: 85%;
            line-height: 1.45;
            background-color: #f7f7f7;
            border: 0;
            border-radius: 3px;
            font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
        }

        .echo pre > pre {
            padding: 0;
            margin: 0;
        }
        /* Layout */
        .col-md-3 {
            width: 25%;
        }
        .col-md-9 {
            width: 75%;
        }
        [class^='col-md-'] {
            float: left;
        }
        .clearfix {
            clear:both;
        }
        @media only screen 
        and (min-device-width : 375px) 
        and (max-device-width : 667px) { 
            .col-md-3,
            .col-md-9 {
                width: 100%;
            }
        }
        /* Exception Info */
        .exception {
            margin-top: 20px;
        }
        .exception .message{
            padding: 12px;
            border: 1px solid #ddd;
            border-bottom: 0 none;
            line-height: 18px;
            font-size:16px;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑';
        }

        .exception .code{
            float: left;
            text-align: center;
            color: #fff;
            margin-right: 12px;
            padding: 16px;
            border-radius: 4px;
            background: #999;
        }
        .exception .source-code{
            padding: 6px;
            border: 1px solid #ddd;

            background: #f9f9f9;
            overflow-x: auto;

        }
        .exception .source-code pre{
            margin: 0;
        }
        .exception .source-code pre ol{
            margin: 0;
            color: #4288ce;
            display: inline-block;
            min-width: 100%;
            box-sizing: border-box;
        font-size:14px;
            font-family: 'Century Gothic',Consolas,'Liberation Mono',Courier,Verdana;
            padding-left: 56px;
        }
        .exception .source-code pre li{
            border-left: 1px solid #ddd;
            height: 18px;
            line-height: 18px;
        }
        .exception .source-code pre code{
            color: #333;
            height: 100%;
            display: inline-block;
            border-left: 1px solid #fff;
        font-size:14px;
            font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑';
        }
        .exception .trace{
            padding: 6px;
            border: 1px solid #ddd;
            border-top: 0 none;
            line-height: 16px;
        font-size:14px;
            font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑';
        }
        .exception .trace ol{
            margin: 12px;
        }
        .exception .trace ol li{
            padding: 2px 4px;
        }
        .exception div:last-child{
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        /* Exception Variables */
        .exception-var table{
            width: 100%;
            margin: 12px 0;
            box-sizing: border-box;
            table-layout:fixed;
            word-wrap:break-word;            
        }
        .exception-var table caption{
            text-align: left;
            font-size: 16px;
            font-weight: bold;
            padding: 6px 0;
        }
        .exception-var table caption small{
            font-weight: 300;
            display: inline-block;
            margin-left: 10px;
            color: #ccc;
        }
        .exception-var table tbody{
            font-size: 13px;
            font-family: Consolas,'Liberation Mono',Courier,'微软雅黑';
        }
        .exception-var table td{
            padding: 0 6px;
            vertical-align: top;
            word-break: break-all;
        }
        .exception-var table td:first-child{
            width: 28%;
            font-weight: bold;
            white-space: nowrap;
        }
        .exception-var table td pre{
            margin: 0;
        }

        /* Copyright Info */
        .copyright{
            margin-top: 24px;
            padding: 12px 0;
            border-top: 1px solid #eee;
        }

        /* SPAN elements with the classes below are added by prettyprint. */
        pre.prettyprint .pln { color: #000 }  /* plain text */
        pre.prettyprint .str { color: #080 }  /* string content */
        pre.prettyprint .kwd { color: #008 }  /* a keyword */
        pre.prettyprint .com { color: #800 }  /* a comment */
        pre.prettyprint .typ { color: #606 }  /* a type name */
        pre.prettyprint .lit { color: #066 }  /* a literal value */
        /* punctuation, lisp open bracket, lisp close bracket */
        pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 }
        pre.prettyprint .tag { color: #008 }  /* a markup tag name */
        pre.prettyprint .atn { color: #606 }  /* a markup attribute name */
        pre.prettyprint .atv { color: #080 }  /* a markup attribute value */
        pre.prettyprint .dec, pre.prettyprint .var { color: #606 }  /* a declaration; a variable name */
        pre.prettyprint .fun { color: red }  /* a function name */
    


    
            
        
    
        
            
                
                    [0] ThrowableError in Index.php line 220
                
                语法解析错误: syntax error, unexpected '}'
            
        
    
	        
                    if($res){
            return json_encode(array('code'=>1,'msg'=>'成功'));
        }else{
            return json_encode(array('code'=>0,'msg'=>'失败'));
        }
    }

    public function 

}

        
	        
            Call Stack
            
                in Index.php line 220
                                
                at think\__include_file() in Loader.php line 85                
                                
                at Loader::autoload()                
                                
                at spl_autoload_call()                
                                
                at class_exists() in Loader.php line 478                
                                
                at Loader::controller() in App.php line 580                
                                
                at App::module() in App.php line 456                
                                
                at App::exec() in App.php line 139                
                                
                at App::run() in start.php line 19                
                                
                at require('/data/wwwroot/td.880...') in index.php line 23                
                            
        
    
        
    
        
        Environment Variables
                
                        GET Data
            
                                
                    content
                    
                        Stalker 2: Heart Of Chornobyl - Hot On The Trail Walkthrough                    
                
                                
                    to
                    
                        en                    
                
                            
                    
                
                        
                POST Data
                empty
            
                    
                
                        
                Files
                empty
            
                    
                
                        Cookies
            
                                
                    myip
                    
                        65.21.47.162                    
                
                            
                    
                
                        
                Session
                empty
            
                    
                
                        Server/Request Data
            
                                
                    TEMP
                    
                        /tmp                    
                
                                
                    TMPDIR
                    
                        /tmp                    
                
                                
                    TMP
                    
                        /tmp                    
                
                                
                    PATH
                    
                        /usr/local/bin:/usr/bin:/bin                    
                
                                
                    USER
                    
                        www                    
                
                                
                    HOME
                    
                        /home/www                    
                
                                
                    HTTP_CONTENT_TYPE
                    
                        application/x-www-form-urlencoded;charset=UTF-8                    
                
                                
                    HTTP_CONNECTION
                    
                        Keep-Alive                    
                
                                
                    HTTP_COOKIE
                    
                        myip=65.21.47.162                    
                
                                
                    HTTP_ACCEPT_ENCODING
                    
                        gzip                    
                
                                
                    HTTP_ACCEPT
                    
                        */*                    
                
                                
                    HTTP_USER_AGENT
                    
                        Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)                    
                
                                
                    HTTP_HOST
                    
                        td.880772.xyz                    
                
                                
                    PATH_INFO
                    
                        /api/index/fanyi_article_title                    
                
                                
                    REDIRECT_STATUS
                    
                        200                    
                
                                
                    SERVER_NAME
                    
                        td.880772.xyz                    
                
                                
                    SERVER_PORT
                    
                        443                    
                
                                
                    SERVER_ADDR
                    
                        188.165.242.95                    
                
                                
                    REMOTE_PORT
                    
                        21686                    
                
                                
                    REMOTE_ADDR
                    
                        65.21.47.162                    
                
                                
                    SERVER_SOFTWARE
                    
                        nginx/1.20.2                    
                
                                
                    GATEWAY_INTERFACE
                    
                        CGI/1.1                    
                
                                
                    HTTPS
                    
                        on                    
                
                                
                    REQUEST_SCHEME
                    
                        https                    
                
                                
                    SERVER_PROTOCOL
                    
                        HTTP/1.1                    
                
                                
                    DOCUMENT_ROOT
                    
                        /data/wwwroot/td.880772.xyz/public                    
                
                                
                    DOCUMENT_URI
                    
                        /index.php                    
                
                                
                    REQUEST_URI
                    
                        /api/index/fanyi_article_title?content=Stalker+2%3A+Heart+Of+Chornobyl+-+Hot+On+The+Trail+Walkthrough&to=en                    
                
                                
                    SCRIPT_NAME
                    
                        /index.php                    
                
                                
                    CONTENT_LENGTH
                    
                                            
                
                                
                    CONTENT_TYPE
                    
                        application/x-www-form-urlencoded;charset=UTF-8                    
                
                                
                    REQUEST_METHOD
                    
                        GET                    
                
                                
                    QUERY_STRING
                    
                        s=/api/index/fanyi_article_title&content=Stalker+2%3A+Heart+Of+Chornobyl+-+Hot+On+The+Trail+Walkthrough&to=en                    
                
                                
                    SCRIPT_FILENAME
                    
                        /data/wwwroot/td.880772.xyz/public/index.php                    
                
                                
                    PHP_VALUE
                    
                        open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/                    
                
                                
                    FCGI_ROLE
                    
                        RESPONDER                    
                
                                
                    PHP_SELF
                    
                        /index.php                    
                
                                
                    REQUEST_TIME_FLOAT
                    
                        1732325537.715                    
                
                                
                    REQUEST_TIME
                    
                        1732325537                    
                
                            
                    
                
                        
                Environment Variables
                empty
            
                    
                
                        ThinkPHP Constants
            
                                
                    PUBLIC_PATH
                    
                        /data/wwwroot/td.880772.xyz/public/../public/                    
                
                                
                    APP_PATH
                    
                        /data/wwwroot/td.880772.xyz/public/../application/                    
                
                                
                    THINK_VERSION
                    
                        5.0.24                    
                
                                
                    THINK_START_TIME
                    
                        1732325537.7154                    
                
                                
                    THINK_START_MEM
                    
                        410192                    
                
                                
                    EXT
                    
                        .php                    
                
                                
                    DS
                    
                        /                    
                
                                
                    THINK_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/                    
                
                                
                    LIB_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/library/                    
                
                                
                    CORE_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/library/think/                    
                
                                
                    TRAIT_PATH
                    
                        /data/wwwroot/td.880772.xyz/thinkphp/library/traits/                    
                
                                
                    ROOT_PATH
                    
                        /data/wwwroot/td.880772.xyz/                    
                
                                
                    EXTEND_PATH
                    
                        /data/wwwroot/td.880772.xyz/extend/                    
                
                                
                    VENDOR_PATH
                    
                        /data/wwwroot/td.880772.xyz/vendor/                    
                
                                
                    RUNTIME_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/                    
                
                                
                    LOG_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/log/                    
                
                                
                    CACHE_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/cache/                    
                
                                
                    TEMP_PATH
                    
                        /data/wwwroot/td.880772.xyz/runtime/temp/                    
                
                                
                    CONF_PATH
                    
                        /data/wwwroot/td.880772.xyz/public/../application/                    
                
                                
                    CONF_EXT
                    
                        .php                    
                
                                
                    ENV_PREFIX
                    
                        PHP_                    
                
                                
                    IS_CLI
                    
                        false                    
                
                                
                    IS_WIN
                    
                        false                    
                
                                
                    FILTER_VALIDATE_BOOL
                    
                        258                    
                
                                
                    ADDON_PATH
                    
                        /data/wwwroot/td.880772.xyz/addons/                    
                
                            
                    
            
    
    
        ThinkPHP 
        V5.0.24 
        { 十年磨一剑-为API开发设计的高性能框架 }
    
        
        var LINE = 220;

        function $(selector, node){
            var elements;

            node = node || document;
            if(document.querySelectorAll){
                elements = node.querySelectorAll(selector);
            } else {
                switch(selector.substr(0, 1)){
                    case '#':
                        elements = [node.getElementById(selector.substr(1))];
                        break;
                    case '.':
                        if(document.getElementsByClassName){
                            elements = node.getElementsByClassName(selector.substr(1));
                        } else {
                            elements = get_elements_by_class(selector.substr(1), node);
                        }
                        break;
                    default:
                        elements = node.getElementsByTagName();
                }
            }
            return elements;

            function get_elements_by_class(search_class, node, tag) {
                var elements = [], eles, 
                    pattern  = new RegExp('(^|\\s)' + search_class + '(\\s|$)');

                node = node || document;
                tag  = tag  || '*';

                eles = node.getElementsByTagName(tag);
                for(var i = 0; i < eles.length; i++) {
                    if(pattern.test(eles[i].className)) {
                        elements.push(eles[i])
                    }
                }

                return elements;
            }
        }

        $.getScript = function(src, func){
            var script = document.createElement('script');
            
            script.async  = 'async';
            script.src    = src;
            script.onload = func || function(){};
            
            $('head')[0].appendChild(script);
        }

        ;(function(){
            var files = $('.toggle');
            var ol    = $('ol', $('.prettyprint')[0]);
            var li    = $('li', ol[0]);   

            // 短路径和长路径变换
            for(var i = 0; i < files.length; i++){
                files[i].ondblclick = function(){
                    var title = this.title;

                    this.title = this.innerHTML;
                    this.innerHTML = title;
                }
            }

            // 设置出错行
            var err_line = $('.line-' + LINE, ol[0])[0];
            err_line.className = err_line.className + ' line-error';

            $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){
                prettyPrint();

                // 解决Firefox浏览器一个很诡异的问题
                // 当代码高亮后,ol的行号莫名其妙的错位
                // 但是只要刷新li里面的html重新渲染就没有问题了
                if(window.navigator.userAgent.indexOf('Firefox') >= 0){
                    ol[0].innerHTML = ol[0].innerHTML;
                }
            });

        })();
    
    
System Error /* Base */ body { color: #333; font: 14px Verdana, 'Helvetica Neue', helvetica, Arial, 'Microsoft YaHei', sans-serif; margin: 0; padding: 0 20px 20px; word-break: break-word; } h1{ margin: 10px 0 0; font-size: 28px; font-weight: 500; line-height: 32px; } h2{ color: #4288ce; font-weight: 400; padding: 6px 0; margin: 6px 0 0; font-size: 18px; border-bottom: 1px solid #eee; } h3.subheading { color: #4288ce; margin: 6px 0 0; font-weight: 400; } h3{ margin: 12px; font-size: 16px; font-weight: bold; } abbr{ cursor: help; text-decoration: underline; text-decoration-style: dotted; } a{ color: #868686; cursor: pointer; } a:hover{ text-decoration: underline; } .line-error{ background: #f8cbcb; } .echo table { width: 100%; } .echo pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border: 0; border-radius: 3px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } .echo pre > pre { padding: 0; margin: 0; } /* Layout */ .col-md-3 { width: 25%; } .col-md-9 { width: 75%; } [class^='col-md-'] { float: left; } .clearfix { clear:both; } @media only screen and (min-device-width : 375px) and (max-device-width : 667px) { .col-md-3, .col-md-9 { width: 100%; } } /* Exception Info */ .exception { margin-top: 20px; } .exception .message{ padding: 12px; border: 1px solid #ddd; border-bottom: 0 none; line-height: 18px; font-size:16px; border-top-left-radius: 4px; border-top-right-radius: 4px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .code{ float: left; text-align: center; color: #fff; margin-right: 12px; padding: 16px; border-radius: 4px; background: #999; } .exception .source-code{ padding: 6px; border: 1px solid #ddd; background: #f9f9f9; overflow-x: auto; } .exception .source-code pre{ margin: 0; } .exception .source-code pre ol{ margin: 0; color: #4288ce; display: inline-block; min-width: 100%; box-sizing: border-box; font-size:14px; font-family: 'Century Gothic',Consolas,'Liberation Mono',Courier,Verdana; padding-left: 56px; } .exception .source-code pre li{ border-left: 1px solid #ddd; height: 18px; line-height: 18px; } .exception .source-code pre code{ color: #333; height: 100%; display: inline-block; border-left: 1px solid #fff; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace{ padding: 6px; border: 1px solid #ddd; border-top: 0 none; line-height: 16px; font-size:14px; font-family: Consolas,'Liberation Mono',Courier,Verdana,'微软雅黑'; } .exception .trace ol{ margin: 12px; } .exception .trace ol li{ padding: 2px 4px; } .exception div:last-child{ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } /* Exception Variables */ .exception-var table{ width: 100%; margin: 12px 0; box-sizing: border-box; table-layout:fixed; word-wrap:break-word; } .exception-var table caption{ text-align: left; font-size: 16px; font-weight: bold; padding: 6px 0; } .exception-var table caption small{ font-weight: 300; display: inline-block; margin-left: 10px; color: #ccc; } .exception-var table tbody{ font-size: 13px; font-family: Consolas,'Liberation Mono',Courier,'微软雅黑'; } .exception-var table td{ padding: 0 6px; vertical-align: top; word-break: break-all; } .exception-var table td:first-child{ width: 28%; font-weight: bold; white-space: nowrap; } .exception-var table td pre{ margin: 0; } /* Copyright Info */ .copyright{ margin-top: 24px; padding: 12px 0; border-top: 1px solid #eee; } /* SPAN elements with the classes below are added by prettyprint. */ pre.prettyprint .pln { color: #000 } /* plain text */ pre.prettyprint .str { color: #080 } /* string content */ pre.prettyprint .kwd { color: #008 } /* a keyword */ pre.prettyprint .com { color: #800 } /* a comment */ pre.prettyprint .typ { color: #606 } /* a type name */ pre.prettyprint .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ pre.prettyprint .pun, pre.prettyprint .opn, pre.prettyprint .clo { color: #660 } pre.prettyprint .tag { color: #008 } /* a markup tag name */ pre.prettyprint .atn { color: #606 } /* a markup attribute name */ pre.prettyprint .atv { color: #080 } /* a markup attribute value */ pre.prettyprint .dec, pre.prettyprint .var { color: #606 } /* a declaration; a variable name */ pre.prettyprint .fun { color: red } /* a function name */ [0] ThrowableError in Index.php line 220 语法解析错误: syntax error, unexpected '}' if($res){ return json_encode(array('code'=>1,'msg'=>'成功')); }else{ return json_encode(array('code'=>0,'msg'=>'失败')); } } public function } Call Stack in Index.php line 220 at think\__include_file() in Loader.php line 85 at Loader::autoload() at spl_autoload_call() at class_exists() in Loader.php line 478 at Loader::controller() in App.php line 580 at App::module() in App.php line 456 at App::exec() in App.php line 139 at App::run() in start.php line 19 at require('/data/wwwroot/td.880...') in index.php line 23 Environment Variables GET Data content Stalker 2: Heart Of Chornobyl - Hot On The Trail Walkthrough to en POST Data empty Files empty Cookies myip 65.21.47.162 Session empty Server/Request Data TEMP /tmp TMPDIR /tmp TMP /tmp PATH /usr/local/bin:/usr/bin:/bin USER www HOME /home/www HTTP_CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 HTTP_CONNECTION Keep-Alive HTTP_COOKIE myip=65.21.47.162 HTTP_ACCEPT_ENCODING gzip HTTP_ACCEPT */* HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1) HTTP_HOST td.880772.xyz PATH_INFO /api/index/fanyi_article_title REDIRECT_STATUS 200 SERVER_NAME td.880772.xyz SERVER_PORT 443 SERVER_ADDR 188.165.242.95 REMOTE_PORT 21686 REMOTE_ADDR 65.21.47.162 SERVER_SOFTWARE nginx/1.20.2 GATEWAY_INTERFACE CGI/1.1 HTTPS on REQUEST_SCHEME https SERVER_PROTOCOL HTTP/1.1 DOCUMENT_ROOT /data/wwwroot/td.880772.xyz/public DOCUMENT_URI /index.php REQUEST_URI /api/index/fanyi_article_title?content=Stalker+2%3A+Heart+Of+Chornobyl+-+Hot+On+The+Trail+Walkthrough&to=en SCRIPT_NAME /index.php CONTENT_LENGTH CONTENT_TYPE application/x-www-form-urlencoded;charset=UTF-8 REQUEST_METHOD GET QUERY_STRING s=/api/index/fanyi_article_title&content=Stalker+2%3A+Heart+Of+Chornobyl+-+Hot+On+The+Trail+Walkthrough&to=en SCRIPT_FILENAME /data/wwwroot/td.880772.xyz/public/index.php PHP_VALUE open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/ FCGI_ROLE RESPONDER PHP_SELF /index.php REQUEST_TIME_FLOAT 1732325537.715 REQUEST_TIME 1732325537 Environment Variables empty ThinkPHP Constants PUBLIC_PATH /data/wwwroot/td.880772.xyz/public/../public/ APP_PATH /data/wwwroot/td.880772.xyz/public/../application/ THINK_VERSION 5.0.24 THINK_START_TIME 1732325537.7154 THINK_START_MEM 410192 EXT .php DS / THINK_PATH /data/wwwroot/td.880772.xyz/thinkphp/ LIB_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/ CORE_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/think/ TRAIT_PATH /data/wwwroot/td.880772.xyz/thinkphp/library/traits/ ROOT_PATH /data/wwwroot/td.880772.xyz/ EXTEND_PATH /data/wwwroot/td.880772.xyz/extend/ VENDOR_PATH /data/wwwroot/td.880772.xyz/vendor/ RUNTIME_PATH /data/wwwroot/td.880772.xyz/runtime/ LOG_PATH /data/wwwroot/td.880772.xyz/runtime/log/ CACHE_PATH /data/wwwroot/td.880772.xyz/runtime/cache/ TEMP_PATH /data/wwwroot/td.880772.xyz/runtime/temp/ CONF_PATH /data/wwwroot/td.880772.xyz/public/../application/ CONF_EXT .php ENV_PREFIX PHP_ IS_CLI false IS_WIN false FILTER_VALIDATE_BOOL 258 ADDON_PATH /data/wwwroot/td.880772.xyz/addons/ ThinkPHP V5.0.24 { 十年磨一剑-为API开发设计的高性能框架 } var LINE = 220; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })();

23Nov2024

System Error

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
While playing Stalker 2: Heart Of Chornobyl, you'll spend quite a lot of time in the Garbage area since you'll first have to do some small jobs for Diode before meeting up with an important figure, who'll ask you to assassinate someone. You can start
to
en
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
21700
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=While+playing+Stalker+2%3A+Heart+Of+Chornobyl%2C+you%27ll+spend+quite+a+lot+of+time+in+the+Garbage+area+since+you%27ll+first+have+to+do+some+small+jobs+for+Diode+before+meeting+up+with+an+important+figure%2C+who%27ll+ask+you+to+assassinate+someone.+You+can+start&to=en
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=While+playing+Stalker+2%3A+Heart+Of+Chornobyl%2C+you%27ll+spend+quite+a+lot+of+time+in+the+Garbage+area+since+you%27ll+first+have+to+do+some+small+jobs+for+Diode+before+meeting+up+with+an+important+figure%2C+who%27ll+ask+you+to+assassinate+someone.+You+can+start&to=en
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732325537.9594
REQUEST_TIME
1732325537
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732325537.9598
THINK_START_MEM
410640
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/

See all articles