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 $license_code = null; $client_name = null; if (!empty($_POST["\x6c\151\x63\x65\x6e\..

Decoded Output download

<?php  $license_code = null; $client_name = null; if (!empty($_POST["license"]) && !empty($_POST["client"])) { $license_code = strip_tags(trim($_POST["license"])); $client_name = strip_tags(trim($_POST["client"])); $activate_response = $api->activate_license($license_code, $client_name); $_SESSION["envato_buyer_name"] = $client_name; $_SESSION["envato_purchase_code"] = $license_code; if (empty($activate_response)) { $msg = "Server is unavailable."; } else { $msg = $activate_response["message"]; } if ($activate_response["status"] != true) { ?>

Did this file decode correctly?

Original Code

<?php  $license_code = null; $client_name = null; if (!empty($_POST["\x6c\151\x63\x65\x6e\x73\145"]) && !empty($_POST["\x63\154\x69\145\x6e\x74"])) { $license_code = strip_tags(trim($_POST["\154\151\x63\145\156\x73\145"])); $client_name = strip_tags(trim($_POST["\x63\154\151\x65\x6e\x74"])); $activate_response = $api->activate_license($license_code, $client_name); $_SESSION["\x65\x6e\166\x61\164\x6f\137\142\x75\171\x65\x72\137\x6e\141\x6d\x65"] = $client_name; $_SESSION["\x65\x6e\x76\x61\164\157\x5f\160\165\162\143\150\141\x73\x65\x5f\143\157\x64\145"] = $license_code; if (empty($activate_response)) { $msg = "\123\145\162\x76\x65\162\40\151\x73\x20\x75\156\x61\x76\x61\151\154\141\142\x6c\x65\56"; } else { $msg = $activate_response["\x6d\145\x73\163\x61\147\145"]; } if ($activate_response["\163\164\x61\x74\165\163"] != true) { ?>

Function Calls

None

Variables

None

Stats

MD5 e2599d9c2e5b55a188ac83fd71938a10
Eval Count 0
Decode Time 43 ms