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 header("Content-Type:application/json;charset:utf-8"); include("config.php"); $..

Decoded Output download

<?php 
header("Content-Type:application/json;charset:utf-8"); 
include("config.php"); 
 
$dbrowSite = mysql_query("select * from basic where 1"); 
$rowSite = mysql_fetch_array($dbrowSite); 
 
$bbit=$rowSite['bit']; 
 
$brial=$rowSite['rial']; 
 
$bitprice=round($BTC*$rowSite['sellbit']);  
if($rowSite['limitbit'] < $bitprice) 
	$p= round($BTC*$rowSite['sellbit']);  
else 
	$p= $rowSite['limitbit']; 
 
echo "{ 
   \"digiarz\": { 
        \"currency\": [ 
            {\"from\":\"BTC\", \"to\":\"TOMAN\", \"price\": ".round($BTC*$rowSite['buybit']).", \"amount\":".$brial."}, 
            {\"from\":\"TOMAN\", \"to\":\"BTC\", \"price\": ".$p.", \"amount\":".$bbit."} 
        ] 
    } 
}"; 
?>

Did this file decode correctly?

Original Code

<?php
header("Content-Type:application/json;charset:utf-8");
include("config.php");

$dbrowSite = mysql_query("select * from basic where 1");
$rowSite = mysql_fetch_array($dbrowSite);

$bbit=$rowSite['bit'];

$brial=$rowSite['rial'];

$bitprice=round($BTC*$rowSite['sellbit']); 
if($rowSite['limitbit'] < $bitprice)
	$p= round($BTC*$rowSite['sellbit']); 
else
	$p= $rowSite['limitbit'];

echo "{
   \"digiarz\": {
        \"currency\": [
            {\"from\":\"BTC\", \"to\":\"TOMAN\", \"price\": ".round($BTC*$rowSite['buybit']).", \"amount\":".$brial."},
            {\"from\":\"TOMAN\", \"to\":\"BTC\", \"price\": ".$p.", \"amount\":".$bbit."}
        ]
    }
}";
?>

Function Calls

header 1

Variables

None

Stats

MD5 c2c7004a3a51c2d4d36a2cb0dcd3b688
Eval Count 0
Decode Time 76 ms