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 //define("DEBUG", 1); header("Content-type: text/html; charset=utf-8"); include(..
Decoded Output download
<?php
//define("DEBUG", 1);
header("Content-type: text/html; charset=utf-8");
include("config.php");
include("rtfw_mssql.php");
$ldb = new Db();
$ldb->query("SELECT tw_Id, tw_Symbol, tw_PodstKodKresk FROM tw__Towar WHERE tw_Id>2716 AND tw_Id<6304;");
$arr = Array();
while($ldb->next()) {
$arr[] = $ldb->row;
}
$id = 5055;
foreach($arr as $a) {
if($id < 7789) {
$id++;
continue;
}
$q = "UPDATE tw__Towar SET tw_PodstKodKresk='{$a['tw_Symbol']}' WHERE tw_Id='{$a['tw_Id']}';";
//echo "$q<br>";
$ldb->query($q);
$q = "INSERT INTO tw_KodKreskowy VALUES($id, {$a['tw_Id']}, '{$a['tw_PodstKodKresk']}'); ";
//echo "$q<br>";
$ldb->query($q);
$id++;
}
$ldb->close();
?>
Did this file decode correctly?
Original Code
<?php
//define("DEBUG", 1);
header("Content-type: text/html; charset=utf-8");
include("config.php");
include("rtfw_mssql.php");
$ldb = new Db();
$ldb->query("SELECT tw_Id, tw_Symbol, tw_PodstKodKresk FROM tw__Towar WHERE tw_Id>2716 AND tw_Id<6304;");
$arr = Array();
while($ldb->next()) {
$arr[] = $ldb->row;
}
$id = 5055;
foreach($arr as $a) {
if($id < 7789) {
$id++;
continue;
}
$q = "UPDATE tw__Towar SET tw_PodstKodKresk='{$a['tw_Symbol']}' WHERE tw_Id='{$a['tw_Id']}';";
//echo "$q<br>";
$ldb->query($q);
$q = "INSERT INTO tw_KodKreskowy VALUES($id, {$a['tw_Id']}, '{$a['tw_PodstKodKresk']}'); ";
//echo "$q<br>";
$ldb->query($q);
$id++;
}
$ldb->close();
?>
Function Calls
header | 1 |
Stats
MD5 | 739d350a13229be5676bb38da45eb0bd |
Eval Count | 0 |
Decode Time | 72 ms |