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 eval("?>".base64_decode("PD9waHAgJF9GPV9fRklMRV9fOyRfWD0nUHo0OFAzQm9jQ0EwWmlBb2N6Tml..

Decoded Output download

<?php ?><?php if (substr($_SERVER['HTTP_HOST'], 0, 4) == "www.") {
    $www = "www.";
    $footer = $_SERVER['HTTP_HOST'];
} else {
    $www = "";
    $footer = $_SERVER['HTTP_HOST'];
}
$site = $www . "sarginhirdavat.com";
if ($footer !== $site) {
    $mailto = '[email protected]';
    $icerik = "" . $site . " scripti " . $footer . " taraf&#305;ndan izinsiz kullan&#305;lmakta.";
    mail($mailto, $alanadi, "$icerik", "Iz&#305;nsiz kullanim yapiliyor!");
    exit;
}
@session_start();
ob_start("ob_gzhandler");
error_reporting(0);
$hosting = "localhost";
$kullanici = "sarginhi_tekurun";
$sifre = "w151ce2w8vfx";
$veritabani = "sarginhi_tekurun";
$connet = mysql_connect($hosting, $kullanici, $sifre) or die(mysql_Error());
mysql_select_db($veritabani, $connet) or die(mysql_Error());
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION = 'utf8_turkish_ci'");
date_default_timezone_set('Europe/Istanbul');
$query = mysql_query("SELECT * FROM ayarlar");
$ayar = mysql_fetch_array($query);
define("path", realpath("."));
define("url", $ayar["ayar_url"]);
define("tema_yolu", $ayar["ayar_url"] . "/tema/" . $ayar["ayar_tema"]);
define("tema", path . "/tema/" . $ayar["ayar_tema"]);
define("tema_adi", $ayar["ayar_tema"]);
define("ayar_baslik", $ayar["ayar_baslik"]);
define("ayar_desc", $ayar["ayar_desc"]);
define("ayar_keyw", $ayar["ayar_keyw"]);
define("ayar_logo", $ayar["ayar_logo"]);
define("ayar_footer", $ayar["ayar_footer"]);
define("ayar_eposta", $ayar["ayar_eposta"]);
define("ayar_google", $ayar["ayar_google"]); ?>

Did this file decode correctly?

Original Code

<?php eval("?>".base64_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