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 gLfZP; XeO3l: if ($conn->query($sql) === TRUE) { $_SESSION["\163\165\143\143\..

Decoded Output download

<?php 
 goto gLfZP; XeO3l: if ($conn->query($sql) === TRUE) { $_SESSION["success"] = $status_message; ?> 
<script type="text/javascript">window.location="../doctor_list.php"</script><?php  } else { $_SESSION["error"] = "Something Went Wrong"; ?> 
<script type="text/javascript">window.location="../doctor_list.php"</script><?php  } goto Ud_no; qfOzv: $doc_description_d = str_replace(""", "`", $doc_description); goto B1tiv; JIlK2: $doc_address_d = str_replace(""", '', $doc_address); goto sctxi; B1tiv: $doc_description = str_replace("'", "`", $doc_description_d); goto ZRiYs; ZRiYs: if ($operation == "edit") { $status_message = "Doctor Successfully Updated"; $sql = "UPDATE m_doctor SET 
                doc_id = '{$doc_id}', doc_name = '{$doc_name}', doc_qualification = '{$doc_qualification}', \xa                doc_description = '{$doc_description}', email = '{$email}', doc_passwd = '{$doc_passwd}', `password` = '{$password}', 
                mobile = '{$mobile}', doc_address = '{$doc_address}', coupon_code = '{$coupon_code}', \xa                date_updated = '{$date_updated}', active_status = '{$active_status}' \xa            WHERE id = '{$id}'"; echo $sql; } else { $status_message = "Doctor Successfully Added"; $sql = "INSERT INTO m_doctor 
                            (doc_id, doc_name, doc_qualification, doc_description, email, doc_passwd, `password`, mobile, doc_address, coupon_code, date_added, date_updated, active_status)
                        VALUES 
                            ('{$doc_id}', '{$doc_name}', '{$doc_qualification}', '{$doc_description}', '{$email}', '{$doc_passwd}', '{$password}', '{$mobile}', '{$doc_address}', '{$coupon_code}', '{$date_added}', '{$date_updated}', '1')"; echo $sql; } goto XeO3l; vHZfH: $date_updated = date("Y-m-d H:i:s"); goto JIlK2; eHG_7: $doc_qualification_d = str_replace(""", "`", $doc_qualification); goto JJpnY; JJpnY: $doc_qualification = str_replace("'", "`", $doc_qualification_d); goto qfOzv; gLfZP: session_start(); goto mefwc; SGxvO: extract($_POST); goto Posbt; Posbt: $date_added = date("Y-m-d H:i:s"); goto vHZfH; sctxi: $doc_address = str_replace("'", '', $doc_address_d); goto eHG_7; mefwc: include "../connect.php"; goto SGxvO; Ud_no: ?>

Did this file decode correctly?

Original Code

<?php
 goto gLfZP; XeO3l: if ($conn->query($sql) === TRUE) { $_SESSION["\163\165\143\143\145\x73\163"] = $status_message; ?>
<script type="text/javascript">window.location="../doctor_list.php"</script><?php  } else { $_SESSION["\145\x72\x72\157\162"] = "\123\x6f\x6d\145\164\150\151\x6e\x67\40\x57\145\156\164\x20\x57\162\x6f\x6e\147"; ?>
<script type="text/javascript">window.location="../doctor_list.php"</script><?php  } goto Ud_no; qfOzv: $doc_description_d = str_replace("\42", "\x60", $doc_description); goto B1tiv; JIlK2: $doc_address_d = str_replace("\42", '', $doc_address); goto sctxi; B1tiv: $doc_description = str_replace("\x27", "\x60", $doc_description_d); goto ZRiYs; ZRiYs: if ($operation == "\x65\144\151\164") { $status_message = "\104\x6f\143\x74\157\x72\40\x53\165\143\x63\x65\x73\163\x66\x75\x6c\154\171\x20\x55\160\144\x61\164\145\144"; $sql = "\x55\x50\x44\101\124\x45\x20\x6d\137\x64\x6f\x63\164\x6f\162\x20\x53\105\124\x20\12\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x64\x6f\x63\x5f\x69\144\40\75\x20\x27{$doc_id}\x27\x2c\x20\x64\x6f\x63\x5f\156\x61\155\x65\40\x3d\40\47{$doc_name}\x27\x2c\x20\x64\x6f\x63\x5f\161\165\141\154\151\x66\151\x63\141\x74\x69\x6f\156\x20\75\40\x27{$doc_qualification}\x27\x2c\40\xa\40\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\40\x20\x64\157\143\x5f\x64\x65\163\x63\162\151\160\164\151\x6f\x6e\40\x3d\x20\x27{$doc_description}\47\54\x20\145\155\x61\x69\x6c\40\x3d\40\47{$email}\x27\x2c\40\x64\x6f\143\137\x70\141\163\163\x77\x64\x20\x3d\x20\x27{$doc_passwd}\47\x2c\40\x60\160\x61\163\x73\167\x6f\162\144\x60\x20\x3d\x20\47{$password}\x27\x2c\40\12\x20\40\40\40\x20\40\x20\40\40\x20\40\x20\x20\40\40\40\x6d\157\142\151\x6c\145\x20\x3d\40\47{$mobile}\47\x2c\x20\x64\x6f\x63\x5f\x61\144\x64\162\145\163\x73\40\x3d\x20\47{$doc_address}\x27\54\x20\143\157\165\160\x6f\156\x5f\x63\x6f\x64\145\40\75\x20\47{$coupon_code}\x27\54\x20\xa\40\x20\x20\40\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\x64\x61\164\145\x5f\165\160\144\141\x74\145\x64\x20\x3d\40\47{$date_updated}\x27\54\x20\x61\143\164\x69\166\145\137\x73\x74\141\x74\x75\163\x20\x3d\x20\47{$active_status}\47\x20\xa\40\40\x20\40\x20\x20\40\40\40\x20\40\40\127\110\x45\122\105\x20\151\x64\40\x3d\x20\47{$id}\x27"; echo $sql; } else { $status_message = "\104\x6f\143\164\157\162\x20\123\x75\x63\143\x65\x73\x73\146\x75\154\x6c\171\x20\x41\x64\x64\x65\x64"; $sql = "\x49\116\123\x45\x52\124\40\111\x4e\x54\117\40\x6d\137\x64\157\143\x74\157\162\x20\12\40\x20\x20\40\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\x20\x20\40\40\x20\x20\x20\50\144\157\x63\x5f\151\144\x2c\x20\x64\x6f\143\137\156\x61\155\145\x2c\40\x64\x6f\143\137\x71\x75\x61\154\x69\146\151\143\141\164\151\x6f\x6e\54\x20\x64\157\143\x5f\144\145\x73\x63\162\151\x70\x74\151\x6f\x6e\x2c\x20\145\x6d\x61\151\x6c\54\40\x64\x6f\143\137\x70\141\163\163\x77\x64\54\x20\140\x70\x61\163\x73\167\x6f\x72\144\x60\x2c\40\155\x6f\x62\151\x6c\145\54\x20\144\x6f\143\x5f\141\144\144\x72\x65\x73\163\54\x20\x63\x6f\165\160\157\x6e\137\143\157\x64\x65\54\x20\144\x61\x74\145\137\141\144\144\x65\x64\x2c\40\x64\141\x74\x65\x5f\x75\160\144\x61\x74\145\144\54\40\x61\x63\x74\151\x76\x65\137\163\164\141\x74\165\163\x29\12\x20\40\40\40\x20\40\40\x20\x20\40\40\40\40\40\40\40\x20\40\40\x20\40\x20\x20\x20\x56\101\114\x55\x45\x53\x20\12\40\40\x20\40\40\40\x20\40\40\40\40\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\x28\x27{$doc_id}\x27\x2c\x20\47{$doc_name}\x27\54\40\x27{$doc_qualification}\x27\x2c\40\x27{$doc_description}\x27\54\x20\x27{$email}\x27\54\x20\47{$doc_passwd}\47\54\40\x27{$password}\x27\54\x20\47{$mobile}\47\x2c\40\47{$doc_address}\47\54\40\x27{$coupon_code}\47\54\40\x27{$date_added}\47\x2c\x20\47{$date_updated}\47\x2c\40\x27\x31\x27\x29"; echo $sql; } goto XeO3l; vHZfH: $date_updated = date("\x59\55\x6d\x2d\x64\x20\110\72\x69\x3a\x73"); goto JIlK2; eHG_7: $doc_qualification_d = str_replace("\42", "\x60", $doc_qualification); goto JJpnY; JJpnY: $doc_qualification = str_replace("\x27", "\x60", $doc_qualification_d); goto qfOzv; gLfZP: session_start(); goto mefwc; SGxvO: extract($_POST); goto Posbt; Posbt: $date_added = date("\x59\55\155\55\x64\40\x48\72\x69\x3a\163"); goto vHZfH; sctxi: $doc_address = str_replace("\47", '', $doc_address_d); goto eHG_7; mefwc: include "\56\x2e\x2f\143\157\156\x6e\x65\x63\164\x2e\160\150\160"; goto SGxvO; Ud_no: ?>

Function Calls

None

Variables

None

Stats

MD5 c4130da4df8c22dcab56e1a6bf14e368
Eval Count 0
Decode Time 81 ms