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 /* Generated by OutputBooks Team */ goto lq3CN; izWR4: $config["\143\157\x6f..

Decoded Output download

<?php 
/* 
Generated by OutputBooks Team 
*/ 
 
goto lq3CN; 
izWR4: 
$config["cookie_secure"] = FALSE; 
goto ey12a; 
ZaLqK: 
$config["allow_get_array"] = TRUE; 
goto X77uF; 
Wzr7g: 
if (!(!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "off" || !empty($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"] == "https")) { 
    goto CHYbA; 
} 
goto sfTck; 
X3Owf: 
$config["csrf_token_name"] = "csrf_test_name"; 
goto ysVl_; 
wLTzu: 
$config["cookie_prefix"] = ''; 
goto KNIGM; 
xzgGx: 
$config["global_xss_filtering"] = FALSE; 
goto hjFfz; 
tnniC: 
$config["sess_driver"] = "database"; 
goto p_jVX; 
lq3CN: 
defined("BASEPATH") or exit("No direct script access allowed"); 
goto gPR1O; 
K30y5: 
$config["cookie_path"] = "/"; 
goto izWR4; 
Ft4Ag: 
$config["enable_hooks"] = TRUE; 
goto MF_5_; 
rI5yc: 
$config["time_reference"] = "local"; 
goto DlGvn; 
ox9Ui: 
if (!is_readable(FCPATH . "env.php")) { 
    goto nf00J; 
} 
goto Ccgmc; 
u5DP7: 
$config["function_trigger"] = "m"; 
goto keYm0; 
HdOzx: 
$config["csrf_expire"] = 7200; 
goto r6cTu; 
Ruyi4: 
$config["sess_save_path"] = "sessions"; 
goto vWROx; 
fNC_7: 
$config["composer_autoload"] = FALSE; 
goto utftE; 
bl9qA: 
EJQTp: 
goto Wy2sZ; 
ey12a: 
$config["cookie_httponly"] = FALSE; 
goto PnRTv; 
LmRue: 
$config["encryption_key"] = "i1d7n0a6p1h9s9e1rus"; 
goto tnniC; 
ysVl_: 
$config["csrf_cookie_name"] = "csrf_cookie_name"; 
goto HdOzx; 
p_jVX: 
$config["sess_cookie_name"] = "ob_session"; 
goto TqHfa; 
Lrjjs: 
$config["base_url"] = $scheme . "://" . $_SERVER["HTTP_HOST"] . str_replace("/index.php", '', $_SERVER["SCRIPT_NAME"]); 
goto bl9qA; 
KNIGM: 
$config["cookie_domain"] = ''; 
goto K30y5; 
j37dr: 
$config["sess_time_to_update"] = 300; 
goto Hdr5w; 
r6cTu: 
$config["csrf_regenerate"] = TRUE; 
goto mT0wv; 
Ta7mA: 
$config["enable_query_strings"] = FALSE; 
goto XF0b3; 
gPR1O: 
$config["base_url"] = ''; 
goto WYh3y; 
KgDG_: 
$config["proxy_ips"] = ''; 
goto xE91b; 
bIE1N: 
CHYbA: 
goto Lrjjs; 
w0IQN: 
include APPPATH . "config/client.php"; 
goto BXPay; 
xfn4r: 
$config["charset"] = "UTF-8"; 
goto Ft4Ag; 
DlGvn: 
$config["rewrite_short_tags"] = FALSE; 
goto KgDG_; 
sfTck: 
$scheme = "https"; 
goto bIE1N; 
gzks9: 
$config["cache_query_string"] = FALSE; 
goto LmRue; 
mv4y4: 
$config["cache_path"] = ''; 
goto gzks9; 
R1ogA: 
$config["log_path"] = ''; 
goto ai6KS; 
ai6KS: 
$config["log_file_extension"] = ''; 
goto KzYAy; 
KzYAy: 
$config["log_file_permissions"] = 0644; 
goto ZP908; 
xE91b: 
if (!is_readable(APPPATH . "config/client.php")) { 
    goto LiQbN; 
} 
goto w0IQN; 
MF_5_: 
$config["subclass_prefix"] = "MY_"; 
goto fNC_7; 
PnRTv: 
$config["standardize_newlines"] = FALSE; 
goto xzgGx; 
qwWl7: 
$config["error_views_path"] = ''; 
goto mv4y4; 
ZP908: 
$config["log_date_format"] = "Y-m-d H:i:s"; 
goto qwWl7; 
TqHfa: 
$config["sess_expiration"] = 0; 
goto Ruyi4; 
Ug6bE: 
ZzEEP: 
goto S66Eu; 
vWROx: 
$config["sess_match_ip"] = FALSE; 
goto j37dr; 
mT0wv: 
$config["csrf_exclude_uris"] = array(); 
goto YmZm5; 
X77uF: 
$config["log_threshold"] = 0; 
goto R1ogA; 
WQMRM: 
$config["language"] = "english"; 
goto xfn4r; 
utftE: 
$config["permitted_uri_chars"] = ''; 
goto Ta7mA; 
atsyh: 
if (empty($env_config)) { 
    goto ZzEEP; 
} 
goto PtDoE; 
XF0b3: 
$config["controller_trigger"] = "c"; 
goto u5DP7; 
BXPay: 
LiQbN: 
goto ox9Ui; 
Wy2sZ: 
$config["index_page"] = "index.php"; 
goto ZGqwi; 
PtDoE: 
$config = array_merge($config, $env_config); 
goto Ug6bE; 
keYm0: 
$config["directory_trigger"] = "d"; 
goto ZaLqK; 
hjFfz: 
$config["csrf_protection"] = FALSE; 
goto X3Owf; 
YmZm5: 
$config["compress_output"] = FALSE; 
goto rI5yc; 
gxLoC: 
$config["url_suffix"] = ''; 
goto WQMRM; 
WYh3y: 
if (!(php_sapi_name() != "cli")) { 
    goto EJQTp; 
} 
goto voFA9; 
Ccgmc: 
include_once FCPATH . "env.php"; 
goto atsyh; 
Hdr5w: 
$config["sess_regenerate_destroy"] = FALSE; 
goto wLTzu; 
ZGqwi: 
$config["uri_protocol"] = "REQUEST_URI"; 
goto gxLoC; 
voFA9: 
$scheme = "http"; 
goto Wzr7g; 
S66Eu: 
nf00J: 
 ?>

Did this file decode correctly?

Original Code

<?php
/*
Generated by OutputBooks Team
*/

goto lq3CN;
izWR4:
$config["\143\157\x6f\153\151\x65\137\x73\x65\x63\165\162\x65"] = FALSE;
goto ey12a;
ZaLqK:
$config["\x61\x6c\154\x6f\167\x5f\147\145\x74\x5f\x61\x72\x72\x61\171"] = TRUE;
goto X77uF;
Wzr7g:
if (!(!empty($_SERVER["\x48\x54\x54\120\123"]) && $_SERVER["\110\124\x54\x50\x53"] != "\157\146\146" || !empty($_SERVER["\x48\124\x54\x50\137\130\137\x46\x4f\x52\x57\101\122\104\105\104\x5f\x50\x52\117\x54\x4f"]) && $_SERVER["\110\x54\124\120\x5f\x58\x5f\x46\x4f\122\x57\101\x52\x44\105\104\x5f\120\x52\117\124\117"] == "\x68\164\x74\160\163")) {
    goto CHYbA;
}
goto sfTck;
X3Owf:
$config["\143\x73\x72\x66\137\x74\157\153\145\156\x5f\x6e\141\155\x65"] = "\143\163\x72\x66\137\x74\x65\163\164\137\x6e\141\x6d\145";
goto ysVl_;
wLTzu:
$config["\143\157\157\x6b\151\x65\x5f\160\x72\145\146\x69\x78"] = '';
goto KNIGM;
xzgGx:
$config["\x67\154\157\x62\141\154\137\170\163\163\137\x66\151\x6c\x74\x65\x72\151\156\147"] = FALSE;
goto hjFfz;
tnniC:
$config["\x73\x65\163\x73\137\x64\x72\x69\166\145\162"] = "\144\141\x74\141\x62\141\163\x65";
goto p_jVX;
lq3CN:
defined("\x42\x41\123\105\120\101\124\110") or exit("\x4e\x6f\x20\144\x69\x72\145\x63\x74\x20\163\x63\162\151\x70\164\x20\141\x63\x63\145\163\x73\x20\141\154\x6c\x6f\x77\x65\144");
goto gPR1O;
K30y5:
$config["\143\x6f\157\x6b\151\x65\x5f\160\141\x74\x68"] = "\57";
goto izWR4;
Ft4Ag:
$config["\x65\156\x61\142\x6c\x65\137\150\157\x6f\x6b\163"] = TRUE;
goto MF_5_;
rI5yc:
$config["\x74\x69\155\145\x5f\x72\145\146\145\x72\145\156\143\145"] = "\154\x6f\143\141\154";
goto DlGvn;
ox9Ui:
if (!is_readable(FCPATH . "\145\156\166\x2e\160\x68\x70")) {
    goto nf00J;
}
goto Ccgmc;
u5DP7:
$config["\x66\x75\x6e\x63\164\151\157\x6e\x5f\164\x72\x69\x67\147\145\x72"] = "\155";
goto keYm0;
HdOzx:
$config["\x63\x73\x72\146\x5f\145\x78\x70\x69\162\145"] = 7200;
goto r6cTu;
Ruyi4:
$config["\163\145\x73\163\x5f\163\141\x76\145\x5f\160\141\164\x68"] = "\163\145\163\163\x69\x6f\x6e\163";
goto vWROx;
fNC_7:
$config["\143\x6f\155\160\x6f\163\145\162\137\x61\x75\x74\157\x6c\x6f\x61\144"] = FALSE;
goto utftE;
bl9qA:
EJQTp:
goto Wy2sZ;
ey12a:
$config["\x63\157\157\x6b\x69\145\137\150\164\x74\x70\157\x6e\x6c\171"] = FALSE;
goto PnRTv;
LmRue:
$config["\x65\x6e\143\162\x79\160\164\x69\x6f\x6e\x5f\x6b\x65\171"] = "\x69\x31\144\x37\x6e\x30\141\x36\x70\61\x68\71\x73\71\145\x31\x72\x75\163";
goto tnniC;
ysVl_:
$config["\x63\x73\x72\146\x5f\x63\x6f\157\153\151\x65\137\x6e\141\x6d\145"] = "\143\x73\162\146\x5f\143\157\157\x6b\151\x65\137\x6e\x61\x6d\145";
goto HdOzx;
p_jVX:
$config["\x73\145\x73\x73\137\x63\x6f\x6f\x6b\x69\x65\x5f\x6e\141\x6d\x65"] = "\x6f\x62\x5f\163\x65\163\x73\x69\x6f\x6e";
goto TqHfa;
Lrjjs:
$config["\x62\x61\x73\x65\137\165\162\x6c"] = $scheme . "\72\x2f\57" . $_SERVER["\x48\x54\x54\120\137\x48\117\123\124"] . str_replace("\57\x69\x6e\144\x65\x78\x2e\160\150\x70", '', $_SERVER["\x53\x43\x52\x49\x50\124\x5f\116\101\x4d\x45"]);
goto bl9qA;
KNIGM:
$config["\143\157\157\153\151\x65\137\x64\157\155\141\x69\156"] = '';
goto K30y5;
j37dr:
$config["\163\x65\x73\163\x5f\164\151\155\x65\137\x74\157\137\x75\x70\x64\141\164\145"] = 300;
goto Hdr5w;
r6cTu:
$config["\143\163\162\146\137\162\x65\147\x65\156\145\162\141\x74\x65"] = TRUE;
goto mT0wv;
Ta7mA:
$config["\x65\x6e\x61\142\x6c\x65\x5f\161\x75\145\162\171\137\163\164\x72\x69\x6e\x67\163"] = FALSE;
goto XF0b3;
gPR1O:
$config["\x62\141\163\145\137\x75\162\x6c"] = '';
goto WYh3y;
KgDG_:
$config["\x70\162\157\x78\x79\137\151\160\x73"] = '';
goto xE91b;
bIE1N:
CHYbA:
goto Lrjjs;
w0IQN:
include APPPATH . "\143\157\x6e\146\151\x67\57\143\x6c\151\145\156\x74\x2e\x70\x68\x70";
goto BXPay;
xfn4r:
$config["\143\x68\141\x72\163\x65\x74"] = "\x55\124\x46\x2d\x38";
goto Ft4Ag;
DlGvn:
$config["\162\145\167\x72\151\x74\145\137\163\x68\x6f\x72\164\137\x74\141\147\x73"] = FALSE;
goto KgDG_;
sfTck:
$scheme = "\150\164\164\160\163";
goto bIE1N;
gzks9:
$config["\143\x61\143\x68\x65\137\x71\x75\145\x72\x79\x5f\163\164\x72\x69\156\147"] = FALSE;
goto LmRue;
mv4y4:
$config["\x63\x61\143\150\145\x5f\160\x61\x74\150"] = '';
goto gzks9;
R1ogA:
$config["\x6c\157\147\x5f\160\141\x74\x68"] = '';
goto ai6KS;
ai6KS:
$config["\x6c\157\147\137\x66\151\154\145\x5f\145\170\x74\x65\156\163\151\157\x6e"] = '';
goto KzYAy;
KzYAy:
$config["\154\x6f\x67\x5f\x66\x69\x6c\x65\137\x70\145\162\155\x69\163\x73\x69\x6f\156\163"] = 0644;
goto ZP908;
xE91b:
if (!is_readable(APPPATH . "\x63\157\156\x66\151\147\57\143\154\x69\x65\x6e\164\x2e\160\150\x70")) {
    goto LiQbN;
}
goto w0IQN;
MF_5_:
$config["\x73\165\x62\143\x6c\141\163\163\x5f\x70\x72\x65\146\x69\170"] = "\x4d\x59\x5f";
goto fNC_7;
PnRTv:
$config["\x73\x74\x61\156\144\x61\x72\144\151\172\145\137\156\145\x77\x6c\x69\156\x65\x73"] = FALSE;
goto xzgGx;
qwWl7:
$config["\145\162\x72\157\162\x5f\x76\151\145\167\x73\137\160\141\x74\150"] = '';
goto mv4y4;
ZP908:
$config["\154\x6f\147\x5f\144\141\x74\x65\x5f\146\x6f\x72\155\x61\164"] = "\x59\x2d\x6d\x2d\x64\x20\x48\72\151\72\163";
goto qwWl7;
TqHfa:
$config["\x73\145\x73\163\x5f\145\170\160\151\162\141\x74\151\x6f\156"] = 0;
goto Ruyi4;
Ug6bE:
ZzEEP:
goto S66Eu;
vWROx:
$config["\x73\145\163\x73\137\155\141\x74\143\x68\x5f\151\x70"] = FALSE;
goto j37dr;
mT0wv:
$config["\x63\163\x72\146\137\145\170\x63\x6c\x75\144\145\137\165\x72\151\163"] = array();
goto YmZm5;
X77uF:
$config["\x6c\x6f\x67\137\164\x68\162\x65\163\x68\157\154\x64"] = 0;
goto R1ogA;
WQMRM:
$config["\x6c\141\156\x67\165\141\x67\145"] = "\145\x6e\x67\x6c\x69\x73\x68";
goto xfn4r;
utftE:
$config["\x70\x65\162\x6d\151\164\164\x65\x64\x5f\x75\162\x69\x5f\x63\x68\141\162\163"] = '';
goto Ta7mA;
atsyh:
if (empty($env_config)) {
    goto ZzEEP;
}
goto PtDoE;
XF0b3:
$config["\x63\157\x6e\164\162\157\x6c\x6c\145\x72\137\x74\x72\151\x67\x67\x65\162"] = "\143";
goto u5DP7;
BXPay:
LiQbN:
goto ox9Ui;
Wy2sZ:
$config["\x69\x6e\x64\145\170\137\x70\x61\147\145"] = "\x69\156\144\x65\170\x2e\160\x68\x70";
goto ZGqwi;
PtDoE:
$config = array_merge($config, $env_config);
goto Ug6bE;
keYm0:
$config["\144\151\x72\145\143\164\x6f\162\x79\x5f\x74\x72\x69\x67\147\x65\162"] = "\144";
goto ZaLqK;
hjFfz:
$config["\143\x73\162\x66\137\160\x72\157\164\x65\x63\164\151\157\156"] = FALSE;
goto X3Owf;
YmZm5:
$config["\143\x6f\x6d\160\162\145\x73\x73\137\157\165\164\x70\x75\164"] = FALSE;
goto rI5yc;
gxLoC:
$config["\x75\x72\154\137\163\x75\146\146\x69\x78"] = '';
goto WQMRM;
WYh3y:
if (!(php_sapi_name() != "\x63\154\x69")) {
    goto EJQTp;
}
goto voFA9;
Ccgmc:
include_once FCPATH . "\145\156\166\x2e\160\150\x70";
goto atsyh;
Hdr5w:
$config["\163\x65\163\x73\137\x72\145\x67\x65\156\x65\x72\x61\x74\x65\x5f\x64\x65\x73\x74\162\x6f\x79"] = FALSE;
goto wLTzu;
ZGqwi:
$config["\x75\162\x69\x5f\160\162\157\x74\157\143\157\x6c"] = "\122\105\121\125\x45\123\124\x5f\x55\122\x49";
goto gxLoC;
voFA9:
$scheme = "\150\164\x74\x70";
goto Wzr7g;
S66Eu:
nf00J:

Function Calls

None

Variables

None

Stats

MD5 c1bef3eddb60eeff665ea64a0dbbdfa6
Eval Count 0
Decode Time 58 ms