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(); // Other Variable for Styling $title = 'JAY X ADMIN LOGIN'; $..
Decoded Output download
<?php
session_start();
// Other Variable for Styling
$title = 'JAY X ADMIN LOGIN';
$heading = 'JAY X ADMIN LOGIN';
$owner = 'https://t.me/jayidschanel';
$infopath = 'jay/web/here/jay.json';
$jsonString = file_get_contents($infopath);
$data = json_decode($jsonString);
$real_username = $data->username;
$real_password = $data->password;
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$username = $_POST['username'];
$password = $_POST['password'];
if ($username == $real_username && $password == $real_password) {
$_SESSION['username'] = $username;
header('Location: data.php');
exit();
} else {
echo '<font color="#FF0000"><p align="center">Wrong Username Or Password </p></font>';
}
}
if (isset($_GET['msg'])) {
echo '<p style="color:rgb(0, 255, 21); text-align: center">' . htmlspecialchars($_GET['msg']) . '</p>';
}
// Other code for login page
?>
Did this file decode correctly?
Original Code
<?php
session_start();
// Other Variable for Styling
$title = 'JAY X ADMIN LOGIN';
$heading = 'JAY X ADMIN LOGIN';
$owner = 'https://t.me/jayidschanel';
$infopath = 'jay/web/here/jay.json';
$jsonString = file_get_contents($infopath);
$data = json_decode($jsonString);
$real_username = $data->username;
$real_password = $data->password;
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$username = $_POST['username'];
$password = $_POST['password'];
if ($username == $real_username && $password == $real_password) {
$_SESSION['username'] = $username;
header('Location: data.php');
exit();
} else {
echo '<font color="#FF0000"><p align="center">Wrong Username Or Password </p></font>';
}
}
if (isset($_GET['msg'])) {
echo '<p style="color:rgb(0, 255, 21); text-align: center">' . htmlspecialchars($_GET['msg']) . '</p>';
}
// Other code for login page
?>
Function Calls
json_decode | 1 |
session_start | 1 |
file_get_contents | 1 |
Stats
MD5 | d5b5d4682ab14dacff344201f1b2ee20 |
Eval Count | 0 |
Decode Time | 47 ms |