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 /* WARNING: This script is protected. Any attempt to reverse engineer, debug or de..

Decoded Output download

<?php  
/* WARNING: This script is protected. Any attempt to reverse engineer, debug or de-code this file or its dependent files is strictly prohibited */ 
$codelock_file="login.php"; $codelock_filed=dirname(__FILE__); include("codelock.php"); return; ?> 
PD9waHANCnNlc3Npb(5fc3R)cnQoKTsNCiRfU0VTU0lPTlsicHdk$iJdID0gInNva(NoZWEiOw0KDQppZiAoISRfUE9TVFsi$nRuU3VibWl0Il0pIHsNCgkk$kx)biA9ICRfR0VUWyJs$W4iXTsNCgkNCgkkX1NFU1NJT05bImx)bmd1$WdlIl0gPSAk$kx)bjsNCglpZiAoISRiTGFuKSB7DQoJCSRfU0VTU0lPTlsibGFuZ3V)Z(UiXSA9ICJraG1lciI7DQoJfQ0KfQ0KaW5jbHVkZSAoIi4vbGFuZ3V)Z(UvbGFuZ3V)Z(UucG)wIik7DQppbmNsdWRlICgiLi9pbmNsdWRlcy9jb(1tb(4ucG)wIik7DQppbmNsdWRlICgiLi9pbmNsdWRlcy9jb(1tb(5fc(VsZi5waHAiKTsNCg0KJGJGaWxlTmFtZSA9ICJsb(dpbi5waHAiOw0KJGJUcGxO$W1lID0gImxvZ(luLnRwbCI7DQoNCiR0cGwgPSBuZXcgVGVtcGx)dGUoJGFwcF9w$XRoKTsNCiR0cGwtPmxv$WRfZmlsZSgk$lRwbE5)bWUsICJt$WluIik7DQoNCiRiRXJyTG9naW4gPSAiIjsNCiRiVXNlciA9ICRfUE9TVFsidH)0VXNlck5)bWUiXTsNCg0KDQppZiAoJF9QT1NUWyJidG5TdWJtaXQiXSkgew0KCSRiVXNlck5)bWUgPSBUb015U3FsKCRfUE9TVFsidH)0VXNlck5)bWUiXSwgIlRleHQiKTsNCgkk$lB3ZCA9ICRfUE9TVFsidH)0UHdkIl07DQoJDQoJJGJVc(VyUHdkID0gZ(V0X3NxbF9($Wx1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W15c3FsX3NlbGVjdF9k$iAoImk0$l9yZXB)aXJfZ3V)cmQiLCAgJGJDb(5uR3V)cmQpOw0KCQ0KCSRiQ()l$(tlZCA9IGdldF9zcWxfdmFsdWUoJGJDb(5uR3V)cmQsICJTRUxFQ1QgcmVw$WlyZWQgRlJPTSBiaXRfc3R)dHVzIik7DQoJaW$gKCEk$kNoZWNrZWQpIHsNCgkJQ()l$(tBbmRSZXB)aXJEQigpOw0KCQkNCgkJbXlzcWxfcXVlcnkoIlVQREFURSBiaXRfc3R)dHVzIFNFVCByZXB)aXJlZCA9IDEiLCAk$kNvbm5HdWFyZCk7DQoJCQ0KCX0NCgkNCn0NCg0KPz4NCg0K

Did this file decode correctly?

Original Code

<?PHP 
/* WARNING: This script is protected. Any attempt to reverse engineer, debug or de-code this file or its dependent files is strictly prohibited */
$codelock_file="login.php"; $codelock_filed=dirname(__FILE__); include("codelock.php"); return; ?>
PD9waHANCnNlc3Npb(5fc3R)cnQoKTsNCiRfU0VTU0lPTlsicHdk$iJdID0gInNva(NoZWEiOw0KDQppZiAoISRfUE9TVFsi$nRuU3VibWl0Il0pIHsNCgkk$kx)biA9ICRfR0VUWyJs$W4iXTsNCgkNCgkkX1NFU1NJT05bImx)bmd1$WdlIl0gPSAk$kx)bjsNCglpZiAoISRiTGFuKSB7DQoJCSRfU0VTU0lPTlsibGFuZ3V)Z(UiXSA9ICJraG1lciI7DQoJfQ0KfQ0KaW5jbHVkZSAoIi4vbGFuZ3V)Z(UvbGFuZ3V)Z(UucG)wIik7DQppbmNsdWRlICgiLi9pbmNsdWRlcy9jb(1tb(4ucG)wIik7DQppbmNsdWRlICgiLi9pbmNsdWRlcy9jb(1tb(5fc(VsZi5waHAiKTsNCg0KJGJGaWxlTmFtZSA9ICJsb(dpbi5waHAiOw0KJGJUcGxO$W1lID0gImxvZ(luLnRwbCI7DQoNCiR0cGwgPSBuZXcgVGVtcGx)dGUoJGFwcF9w$XRoKTsNCiR0cGwtPmxv$WRfZmlsZSg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