Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/58.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Ioncube无法与mysqli一起使用_Php_Mysql_Mysqli_Ioncube - Fatal编程技术网

Php Ioncube无法与mysqli一起使用

Php Ioncube无法与mysqli一起使用,php,mysql,mysqli,ioncube,Php,Mysql,Mysqli,Ioncube,我使用Ioncube进行脚本混淆和工作,但如果脚本具有mysqli函数(db、connect等),则无法工作。 工作脚本的示例: <?php session_start(); $errorMessage = ""; header('Content-Type: text/html; charset=utf-8'); include_once('language.php'); if (isset($_SESSION['logged_in']) && $_SESSION['

我使用Ioncube进行脚本混淆和工作,但如果脚本具有mysqli函数(db、connect等),则无法工作。 工作脚本的示例:

<?php
session_start();

$errorMessage = "";
header('Content-Type: text/html; charset=utf-8');

include_once('language.php');

if (isset($_SESSION['logged_in']) && $_SESSION['logged_in'] === true) {
   header('Location: index.php');
}

require_once('config.php');
if (isset($_POST['Username']) && isset($_POST['Password'])){
    $log_username = $_POST['Username'];
    $log_password = $_POST['Password'];

    if($log_username == $username && $log_password == $password){
        $_SESSION['logged_in'] = true;
        header('Location: index.php');
    }else{
        $errorMessage="Wrong username/password.";
    }       
}
它给出了这样一个错误消息:

[04-Dec-2016 11:15:26 Europe/Moscow] PHP Fatal error:  Class '[obfuscated]' not found in /home/u6820440/public_html/test/index.php on line 0

我查找了所有论坛,但没有找到任何解决方案。

也许这是混淆工具中的一个错误。这些东西通常一文不值,因为坚定的攻击者总是可以从中获取代码。
[04-Dec-2016 11:15:26 Europe/Moscow] PHP Fatal error:  Class '[obfuscated]' not found in /home/u6820440/public_html/test/index.php on line 0