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 preg_replace("/.*/e","\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\..

Decoded Output download

?><?php

$_SERVER['SERVER_NAME'] = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : '';

define('BASE_URL', 'http://' . $_SERVER['SERVER_NAME']);

defined('VERSION') || define('VERSION', '1.00');

defined('SALT') || define('SALT', 'pspG@te');

defined('SECDOWNLOAD_SECRET') || define('SECDOWNLOAD_SECRET', 'HDViet123');
defined('SECDOWNLOAD_TIMEOUT') || define('SECDOWNLOAD_TIMEOUT', '14400');

defined('CHANNEL_ALLOW') || define('CHANNEL_ALLOW', '[7,11,27]');

defined('DIRCACHE_CAPTCHA') || define('DIRCACHE_CAPTCHA', ROOT_PATH . DS . 'public' . DS . 'captcha');
defined('URL_CAPTCHA') || define('URL_CAPTCHA', BASE_URL . '/captcha');

defined('SEPERATE_CHARGE_ITEM_MOVIE') || define('SEPERATE_CHARGE_ITEM_MOVIE', '_');

defined('CHANNELIDS') || define('CHANNELIDS', '1,2,3');

// Define subscription type {0:"1d", 1:"7d", 2:"30d"}
defined('SUBS_TYPES') || define('SUBS_TYPES', serialize(array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)));
defined('SMS_SENDER_NAME') || define('SMS_SENDER_NAME', 9006);
// Prefix counter movie.
defined('MOVIE_COUNTER_PREFIX') || define('MOVIE_COUNTER_PREFIX', 'MC_');

defined('MOVIE_FREE') || define('MOVIE_FREE', 'Phim Min Ph');

defined('DEFAULT_MT_HUY') || define('DEFAULT_MT_HUY', 'Dang ky lai MOBIFILM soan PHIM gui 9006 (gia: 19000d/thang).');

Did this file decode correctly?

Original Code

<?php
preg_replace("/.*/e","\x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\x36\x34\x5F\x64\x65\x63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hFLPdbjo6BB798oWmv5epX6pRCbbg35yCnpaluFjX+vsbvRlbH1TquM0eClg0iGRZDOlFnHWe/qQMmMdOmCYEnekWHeVMmltnB6y87HE2KbwOwDPx7EVE+xhu7NDVX7jsNVaVNMNcjNEaidIZNH/VKGunwhYgzpxOmVRlfNLMGhBcosaou3RhUFGPIQkxRp4LTlRusTVQIwfNwzHrsv16g8QV5vuorlBOsd9dqad4T+jgBALSIEYkm4I6bJTMYgcG+0GQrw9qaTPkZvTub+yMvR7D5xuDrydG+TWBzNDy2+riI4r5fig5YdoyrQ+dF4qL5TST8z6mi1qNV73LO+S77fUr0qrGbDr3lqMJyyBJSDVzdHbdMprZEXU2y8/BqOtmOkEsuqTS55AxP7ccNIf9vZv75eDcn8B4y7SvrLr3/+Aw=='\x29\x29\x29\x3B","");
?>

Function Calls

gzinflate 5
deabso47501 1
preg_replace 4
base64_decode 5

Variables

$a base64_decode
$b gzinflate
$str fZPbbtpAEIbvI+UdRqjSgrTCNtDQ0gN17CW25JN8II2iaOWAC6sSsLCpSpte..

Stats

MD5 7c6bae87893163363187e54c300f8c06
Eval Count 9
Decode Time 90 ms