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 ${"GLOBALS"}["lntqelp"] = "pages"; ${"GLOBALS"}["ggueoq"] = "page_title"; $wwdmpj..
Decoded Output download
<?php
${"GLOBALS"}["lntqelp"] = "pages";
${"GLOBALS"}["ggueoq"] = "page_title";
$wwdmpjgvsy = "is_online";
${"GLOBALS"}["lcgsioihtzl"] = "token";
${"GLOBALS"}["nhbhxqbqqu"] = "page";
${"GLOBALS"}["misoeqmnjeau"] = "pages";
${"GLOBALS"}["yvjjxlfgpit"] = "date";
${"GLOBALS"}["npbhmhvgwt"] = "config";
define("BASEPATH", true);
require("system/init.php");
if ($config["force_secure"] == 1 && !isset($_SERVER["HTTPS"]) || $config["force_secure"] == 1 && $_SERVER["HTTPS"] != "on") {
header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
exit();
}
ob_start();
$pages = array(
"contact" => array(1, 2, "pages/contact", "Contact Us"),
"offers" => array(1, 1, "pages/offers", "Earn Coins"),
"activities" => array(1, 1, "pages/activities", "Activities"),
"completed" => array(1, 1, "pages/completed", "Completed Offers"),
"rejected" => array(1, 1, "pages/rejected", "Rejected Transactions"),
"canceled" => array(1, 1, "pages/canceled", "Canceled Offers"),
"tos" => array(1, 2, "pages/tos", "Terms & Conditions"),
"privacy" => array(1, 2, "pages/privacy", "Privacy Policy"),
"account" => array(1, 1, "pages/account", "Edit Account"),
"withdraw" => array(1, 1, "pages/withdraw", "Withdraw"),
"register" => array(1, 0, "register", "Register", 1),
"login" => array(1, 0, "login", "Login", 1)
);
$is_online = false;
if (isset($_GET["page"]) && $pages[$_GET["page"]][0] == 1) {
$page_title = $pages[$_GET["page"]][2];
$is_online = true;
}
$theme = "pages";
if ($is_online) {
$theme = $pages[$_GET["page"]][3];
}
$lcgsioihtzl = GenGlobalToken();
if ($is_online || isset($_GET["page"]) && $pages[$_GET["page"]][1] == 2) {
$online = true;
require(BASE_PATH . "/template/" . $theme["theme"] . "/common/header.php");
require(BASE_PATH . "/template/" . $theme["theme"] . "/" . $pages[$_GET["page"]][2] . ".php");
require(BASE_PATH . "/template/" . $theme["theme"] . "/common/footer.php");
}
$lcgsioihtzl = GenGlobalToken();
if ($is_online || isset($_GET["page"]) && $pages[$_GET["page"]][1] == 2) {
$rgkv = "config";
require(BASE_PATH . "/template/" . $theme["theme"] . "/common/footer.php");
}
ob_end_flush();
?>
Did this file decode correctly?
Original Code
<?php
${"GLOBALS"}["lntqelp"] = "pages";
${"GLOBALS"}["ggueoq"] = "page_title";
$wwdmpjgvsy = "is_online";
${"GLOBALS"}["lcgsioihtzl"] = "token";
${"GLOBALS"}["nhbhxqbqqu"] = "page";
${"GLOBALS"}["misoeqmnjeau"] = "pages";
${"GLOBALS"}["yvjjxlfgpit"] = "date";
${"GLOBALS"}["npbhmhvgwt"] = "config";
define("BASEPATH", true);
require("system/init.php");
if ($config["force_secure"] == 1 && !isset($_SERVER["HTTPS"]) || $config["force_secure"] == 1 && $_SERVER["HTTPS"] != "on") {
header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
exit();
}
ob_start();
$pages = array(
"contact" => array(1, 2, "pages/contact", "Contact Us"),
"offers" => array(1, 1, "pages/offers", "Earn Coins"),
"activities" => array(1, 1, "pages/activities", "Activities"),
"completed" => array(1, 1, "pages/completed", "Completed Offers"),
"rejected" => array(1, 1, "pages/rejected", "Rejected Transactions"),
"canceled" => array(1, 1, "pages/canceled", "Canceled Offers"),
"tos" => array(1, 2, "pages/tos", "Terms & Conditions"),
"privacy" => array(1, 2, "pages/privacy", "Privacy Policy"),
"account" => array(1, 1, "pages/account", "Edit Account"),
"withdraw" => array(1, 1, "pages/withdraw", "Withdraw"),
"register" => array(1, 0, "register", "Register", 1),
"login" => array(1, 0, "login", "Login", 1)
);
$is_online = false;
if (isset($_GET["page"]) && $pages[$_GET["page"]][0] == 1) {
$page_title = $pages[$_GET["page"]][2];
$is_online = true;
}
$theme = "pages";
if ($is_online) {
$theme = $pages[$_GET["page"]][3];
}
$lcgsioihtzl = GenGlobalToken();
if ($is_online || isset($_GET["page"]) && $pages[$_GET["page"]][1] == 2) {
$online = true;
require(BASE_PATH . "/template/" . $theme["theme"] . "/common/header.php");
require(BASE_PATH . "/template/" . $theme["theme"] . "/" . $pages[$_GET["page"]][2] . ".php");
require(BASE_PATH . "/template/" . $theme["theme"] . "/common/footer.php");
}
$lcgsioihtzl = GenGlobalToken();
if ($is_online || isset($_GET["page"]) && $pages[$_GET["page"]][1] == 2) {
$rgkv = "config";
require(BASE_PATH . "/template/" . $theme["theme"] . "/common/footer.php");
}
ob_end_flush();
?>
Function Calls
define | 1 |
Stats
MD5 | f1e03e0b9bede8acd44dc5d659a60ec1 |
Eval Count | 0 |
Decode Time | 159 ms |