Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /** @noinspection SqlNoDataSourceInspection */ use eftec\PdoOne; use mapache_common..

Decoded Output download

<?php /** @noinspection SqlNoDataSourceInspection */

use eftec\PdoOne;
use mapache_commons\Collection;


include "../../vendor/autoload.php";
include "../Collection.php";
include "../dBug.php";
echo "<body><div style='width:600px'>";
// connecting to database sakila at 127.0.0.1 with user root and password abc.123
$dao=new PdoOne("mysql","127.0.0.1","root","abc.123","sakila","");
$dao->logLevel=3;
try {
    echo "<h1>Connection. The instance {$dao->server}, base:{$dao->db}  user:{$dao->user} and password:{$dao->pwd} must exists</h1>";
    $dao->connect();
    echo "Connected A-OK!<br>";
} catch (Exception $e) {
    echo "<h2>connection error:</h2>";
    echo $dao->lastError()."-".$e->getMessage()."<br>";
    die(1);
}

if($dao->tableExist('mysec_table')) {
    $dao->dropTable('mysec_table');
}
if($dao->objectExist('next_mysec_table','function')) {
    $dao->drop('next_mysec_table','function');
}

$dao->createSequence('mysec_table','sequence'); ?>

Did this file decode correctly?

Original Code

<?php /** @noinspection SqlNoDataSourceInspection */

use eftec\PdoOne;
use mapache_commons\Collection;


include "../../vendor/autoload.php";
include "../Collection.php";
include "../dBug.php";
echo "<body><div style='width:600px'>";
// connecting to database sakila at 127.0.0.1 with user root and password abc.123
$dao=new PdoOne("mysql","127.0.0.1","root","abc.123","sakila","");
$dao->logLevel=3;
try {
    echo "<h1>Connection. The instance {$dao->server}, base:{$dao->db}  user:{$dao->user} and password:{$dao->pwd} must exists</h1>";
    $dao->connect();
    echo "Connected A-OK!<br>";
} catch (Exception $e) {
    echo "<h2>connection error:</h2>";
    echo $dao->lastError()."-".$e->getMessage()."<br>";
    die(1);
}

if($dao->tableExist('mysec_table')) {
    $dao->dropTable('mysec_table');
}
if($dao->objectExist('next_mysec_table','function')) {
    $dao->drop('next_mysec_table','function');
}

$dao->createSequence('mysec_table','sequence');

Function Calls

None

Variables

None

Stats

MD5 d309d09fe9e14b4f3a28b47929493931
Eval Count 0
Decode Time 134 ms