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 if (isset($_GET['user']) && $_GET['password'] == ""){ session_start(); ..

Decoded Output download

 
<?php 
if (isset($_GET['user']) && $_GET['password'] == ""){ 
    session_start(); 
    $_SESSION["loggedIn"] = "true"; 
    setcookie("loginTime", date("F t, Y - G:i a"), time() + (60 * 10)); 
    header('Location: admin.php');     
 
if ($_SESSION["user"] = true) { 
    header('Location: admin.php');   
} 
 
else { 
    exit("Invalid Login");    
} 
?>

Did this file decode correctly?

Original Code


<?php
if (isset($_GET['user']) && $_GET['password'] == ""){
    session_start();
    $_SESSION["loggedIn"] = "true";
    setcookie("loginTime", date("F t, Y - G:i a"), time() + (60 * 10));
    header('Location: admin.php');    

if ($_SESSION["user"] = true) {
    header('Location: admin.php');  
}

else {
    exit("Invalid Login");   
}
?>

Function Calls

None

Variables

None

Stats

MD5 7cdb9107f4bfb5aabd1eca0e65546072
Eval Count 0
Decode Time 83 ms