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 goto q8ppI; nj3Un: if (!empty($_SERVER["\110\x54\124\x50\137\103\114\x49\x45\x4e\1..

Decoded Output download

<?php 
 goto q8ppI; nj3Un: if (!empty($_SERVER["HTTP_CLIENT_IP"])) { $user_ip = $_SERVER["HTTP_CLIENT_IP"]; } elseif (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) { $user_ip = $_SERVER["HTTP_X_FORWARDED_FOR"]; } else { $user_ip = $_SERVER["REMOTE_ADDR"]; } goto iLkSI; Oyy7Z: the_title("<h1 class="entry-title" >", "</h1>"); goto ipKCP; iLkSI: $capidata = ''; goto Q0qmj; Qdn9u: $submitJson = "{\xa    "data": [\xa            {
                "action_source": "website",\xa                "event_name": "InitiateCheckout",
                "event_time": " . time() . ",\xa                "event_source_url": "" . $actual_link . "",\xa                "event_id":"" . $pagevieweventid . "",
                "data_processing_options":"LDU",\xa                "data_processing_options_country":"0",
                "data_processing_options_state":"0",\xa                "user_data": {
                    "client_ip_address": "" . $user_ip . "",
                    "client_user_agent": "" . $_SERVER["HTTP_USER_AGENT"] . "",\xa                    "fbp":"" . $fbp . "",
                    "fbc":"" . $fbc . ""\xa                },\xa                " . $customdata . "
            }
    ]
}"; goto a8jgS; u446S: $cardsfee = 0; goto yyv6G; l64xc: ?>

Did this file decode correctly?

Original Code

<?php
 goto q8ppI; nj3Un: if (!empty($_SERVER["\110\x54\124\x50\137\103\114\x49\x45\x4e\124\x5f\111\120"])) { $user_ip = $_SERVER["\x48\124\x54\x50\x5f\103\114\111\x45\116\x54\x5f\x49\x50"]; } elseif (!empty($_SERVER["\110\x54\x54\x50\x5f\130\137\106\117\x52\127\101\122\104\105\x44\137\x46\x4f\122"])) { $user_ip = $_SERVER["\110\124\124\x50\137\x58\137\x46\117\122\127\101\x52\x44\105\104\x5f\106\x4f\x52"]; } else { $user_ip = $_SERVER["\122\x45\x4d\117\x54\x45\x5f\x41\104\x44\x52"]; } goto iLkSI; Oyy7Z: the_title("\74\x68\x31\x20\143\x6c\x61\x73\x73\x3d\x22\x65\156\164\162\x79\55\x74\151\164\x6c\x65\x22\x20\x3e", "\74\x2f\150\x31\76"); goto ipKCP; iLkSI: $capidata = ''; goto Q0qmj; Qdn9u: $submitJson = "\x7b\xa\x20\x20\x20\x20\x22\x64\141\164\141\x22\72\x20\133\xa\40\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\173\12\x20\x20\40\x20\x20\x20\40\x20\40\x20\x20\40\x20\x20\40\40\x22\x61\x63\164\x69\x6f\x6e\x5f\x73\x6f\x75\x72\x63\145\x22\72\x20\x22\167\145\142\x73\x69\164\x65\x22\54\xa\40\40\40\40\x20\x20\40\40\x20\40\x20\x20\x20\40\x20\x20\x22\145\x76\145\x6e\164\137\156\141\x6d\145\x22\72\40\x22\x49\156\151\164\x69\x61\164\145\103\150\x65\x63\153\x6f\165\x74\42\54\12\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\40\40\40\40\40\42\x65\166\145\156\x74\137\x74\151\x6d\x65\42\72\x20" . time() . "\54\xa\40\40\40\x20\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\42\x65\166\x65\x6e\164\x5f\x73\157\165\162\143\145\137\165\162\154\42\72\40\x22" . $actual_link . "\42\54\xa\40\40\40\40\40\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x22\x65\x76\x65\156\x74\x5f\151\144\x22\x3a\42" . $pagevieweventid . "\x22\x2c\12\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\x20\40\40\42\144\x61\x74\x61\137\x70\162\x6f\143\145\x73\163\x69\x6e\147\x5f\x6f\160\x74\x69\157\x6e\163\x22\72\42\114\104\125\42\x2c\xa\40\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\x22\144\x61\164\141\x5f\160\162\157\x63\x65\163\163\151\156\147\137\157\x70\x74\151\157\156\x73\137\x63\x6f\x75\156\164\x72\171\42\72\x22\60\x22\54\12\40\40\x20\x20\40\40\40\x20\40\x20\40\40\40\40\x20\40\x22\144\x61\164\x61\137\160\162\157\x63\x65\163\x73\151\156\147\x5f\x6f\x70\x74\x69\x6f\x6e\x73\x5f\x73\x74\141\x74\x65\x22\72\42\x30\x22\54\xa\40\40\40\x20\x20\40\40\40\40\40\x20\40\40\40\x20\x20\x22\x75\x73\x65\x72\137\x64\x61\164\141\x22\72\40\173\12\x20\x20\x20\40\x20\40\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\x20\x22\143\154\x69\x65\156\x74\137\x69\x70\x5f\x61\x64\144\x72\x65\x73\x73\42\72\40\x22" . $user_ip . "\x22\x2c\12\x20\40\x20\x20\x20\40\40\40\40\x20\40\40\x20\x20\x20\x20\40\40\40\x20\42\x63\x6c\x69\145\156\x74\x5f\165\163\145\162\x5f\141\x67\145\156\x74\x22\72\x20\42" . $_SERVER["\110\x54\x54\120\137\x55\123\105\x52\137\101\107\x45\116\124"] . "\42\x2c\xa\x20\x20\40\40\40\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\42\x66\142\x70\x22\x3a\x22" . $fbp . "\42\x2c\12\40\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\42\x66\x62\x63\x22\72\42" . $fbc . "\x22\xa\x20\40\x20\x20\x20\x20\x20\x20\40\x20\40\x20\x20\x20\x20\x20\x7d\x2c\xa\40\x20\x20\x20\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20" . $customdata . "\12\x20\40\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x7d\12\x20\x20\x20\x20\135\12\175"; goto a8jgS; u446S: $cardsfee = 0; goto yyv6G; l64xc: ?>

Function Calls

None

Variables

None

Stats

MD5 80ffd3100cc9723d1330acdf0978086d
Eval Count 0
Decode Time 47 ms