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 HjT6m; eI0kG: if ($_SERVER["\x52\x45\121\125\x45\x53\x54\137\115\105\x54\110\x..

Decoded Output download

<?php 
goto HjT6m; eI0kG: if ($_SERVER["REQUEST_METHOD"] == "POST") { $fname = mysqli_real_escape_string($connect, $_POST["fname"]); $email = mysqli_real_escape_string($connect, $_POST["email"]); $address = mysqli_real_escape_string($connect, $_POST["address"]); $mobile = $_POST["mobile"]; $connect->query("update users set username='{$fname}',email='{$email}',address='{$address}',contact_number='{$mobile}' where id=1"); header("location:dashboard.php"); die; } goto a14T4; iEuqv: echo $info["email"]; goto p0Jo0; HjT6m: require "config/config.php"; goto eNKut; mSeJM: echo $info["username"]; goto AnX0a; a14T4: ?> 
<?php  goto hYvMs; Yg8FY: ?><?php  goto GWnD5; hYvMs: echo $info["username"]; goto xBqjP; xBqjP: ?> 
<?php  goto mSeJM; oJRrJ: echo $info["contact_number"]; goto Yg8FY; AnX0a: ?> 
<?php  goto iEuqv; p0Jo0: ?> 
"type="email"></li><li><b>Contact number</b> <input id="mobile"maxlength="10"name="mobile"required value="<?php  goto oJRrJ; GWnD5: echo $info["address"]; goto q0P7y; eNKut: $info = $connect->query("select * from users where id=1")->fetch_assoc(); goto eI0kG; q0P7y: ?>

Did this file decode correctly?

Original Code

<?php
goto HjT6m; eI0kG: if ($_SERVER["\x52\x45\121\125\x45\x53\x54\137\115\105\x54\110\x4f\104"] == "\x50\x4f\123\x54") { $fname = mysqli_real_escape_string($connect, $_POST["\146\x6e\141\x6d\145"]); $email = mysqli_real_escape_string($connect, $_POST["\145\155\x61\x69\154"]); $address = mysqli_real_escape_string($connect, $_POST["\141\x64\x64\162\145\x73\x73"]); $mobile = $_POST["\155\x6f\x62\x69\x6c\x65"]; $connect->query("\x75\x70\x64\x61\x74\145\x20\165\163\145\x72\163\x20\x73\x65\164\40\x75\x73\x65\x72\156\x61\x6d\x65\75\47{$fname}\x27\x2c\145\x6d\141\151\154\x3d\47{$email}\x27\x2c\x61\144\144\162\145\x73\x73\x3d\x27{$address}\47\x2c\x63\157\x6e\164\141\x63\x74\x5f\156\165\155\x62\145\x72\x3d\47{$mobile}\47\40\167\x68\145\x72\x65\x20\151\x64\75\x31"); header("\154\x6f\143\x61\x74\x69\157\x6e\x3a\144\141\163\150\142\x6f\x61\162\x64\x2e\160\150\160"); die; } goto a14T4; iEuqv: echo $info["\145\155\141\x69\154"]; goto p0Jo0; HjT6m: require "\x63\x6f\156\146\151\147\57\x63\x6f\156\146\151\147\56\x70\x68\160"; goto eNKut; mSeJM: echo $info["\x75\163\x65\x72\156\x61\x6d\145"]; goto AnX0a; a14T4: ?>
<?php  goto hYvMs; Yg8FY: ?><?php  goto GWnD5; hYvMs: echo $info["\x75\x73\x65\x72\156\141\x6d\x65"]; goto xBqjP; xBqjP: ?>
<?php  goto mSeJM; oJRrJ: echo $info["\143\157\156\x74\x61\143\164\137\156\x75\155\142\x65\162"]; goto Yg8FY; AnX0a: ?>
<?php  goto iEuqv; p0Jo0: ?>
"type="email"></li><li><b>Contact number</b> <input id="mobile"maxlength="10"name="mobile"required value="<?php  goto oJRrJ; GWnD5: echo $info["\141\144\144\162\145\163\x73"]; goto q0P7y; eNKut: $info = $connect->query("\x73\145\x6c\145\x63\x74\40\x2a\40\146\162\x6f\x6d\x20\165\x73\145\x72\x73\40\167\150\145\x72\145\40\151\144\x3d\x31")->fetch_assoc(); goto eI0kG; q0P7y: ?>

Function Calls

None

Variables

None

Stats

MD5 3ce4a80d707b7d8090a3e4ca37b8e5df
Eval Count 0
Decode Time 58 ms