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 $i = 0; $toto1 = 0; $toto2 = 0; $toto3 = 0; $toto4 = 0; $toto5 = 0; $toto6 = 0; $qop..

Decoded Output download

<?php $i = 0; $toto1 = 0; $toto2 = 0; $toto3 = 0; $toto4 = 0; $toto5 = 0; $toto6 = 0; $qop = sprintf("select * from opd where date >= '%s' and date <= '%s' and drid = %d and cancel = 0 and opdmode = 'Cash'",$dt1,$dt2,intval($_POST['drid'])); $rop = mysqli_query($con,$qop) or die(mysqli_error($con)); while($cash_opd = mysqli_fetch_array($rop)) { $i = $i + 1; $hospshare = $cash_opd['paidamt']/2; $drshare = $cash_opd['paidamt']/2; $toto1 = $toto1 + $cash_opd['fee']; $toto2 = $toto2 + $cash_opd['dics']; $toto3 = $toto3 + $cash_opd['paidamt']; $toto4 = $toto4 + $hospshare; $toto5 = $toto5 + $drshare; ?>

Did this file decode correctly?

Original Code

<?php $i = 0; $toto1 = 0; $toto2 = 0; $toto3 = 0; $toto4 = 0; $toto5 = 0; $toto6 = 0; $qop = sprintf("select * from opd where date >= '%s' and date <= '%s' and drid = %d and cancel = 0 and opdmode = 'Cash'",$dt1,$dt2,intval($_POST['drid'])); $rop = mysqli_query($con,$qop) or die(mysqli_error($con)); while($cash_opd = mysqli_fetch_array($rop)) { $i = $i + 1; $hospshare = $cash_opd['paidamt']/2; $drshare = $cash_opd['paidamt']/2; $toto1 = $toto1 + $cash_opd['fee']; $toto2 = $toto2 + $cash_opd['dics']; $toto3 = $toto3 + $cash_opd['paidamt']; $toto4 = $toto4 + $hospshare; $toto5 = $toto5 + $drshare; ?>

Function Calls

None

Variables

None

Stats

MD5 20aeffc649ed760ceb6df38ef836f735
Eval Count 0
Decode Time 60 ms