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 require_once('cm/connection.php'); $query2 = mysqli_query($connect..

Decoded Output download

<?php 
        require_once('cm/connection.php'); 
        $query2 = mysqli_query($connection_cm,"UPDATE shelf SET shelf_4_6 = '2024-01-10 00:00:00' WHERE  status='test'"); 
        echo "Licence Updated..."; 
        /*$query4 = mysqli_query($connection,"SELECT time_in FROM pages_records WHERE id='$max_id'"); 
        $query5 = mysqli_fetch_row($query4); 
        $time_in = $query5[0]; 
         
        $query6 = mysqli_query($connection,"SELECT time_out FROM pages_records WHERE id='$max_id'"); 
        $query7 = mysqli_fetch_row($query6); 
        $time_out = $query7[0];         
        $t1 = strtotime($time_in); 
        $t2 = strtotime($time_out); 
        $hours = ($t2 - $t1)/60;  
 
        $average= "".floor($hours) . ':' . ( ($hours-floor($hours)) * 60 ); 
        $query6 = mysqli_query($connection,"UPDATE pages_records SET average_time = '$average' WHERE id= '$max_id'");*/ 
        mysqli_close($connection_cm);  
 
?>

Did this file decode correctly?

Original Code

<?php
        require_once('cm/connection.php');
        $query2 = mysqli_query($connection_cm,"UPDATE shelf SET shelf_4_6 = '2024-01-10 00:00:00' WHERE  status='test'");
        echo "Licence Updated...";
        /*$query4 = mysqli_query($connection,"SELECT time_in FROM pages_records WHERE id='$max_id'");
        $query5 = mysqli_fetch_row($query4);
        $time_in = $query5[0];
        
        $query6 = mysqli_query($connection,"SELECT time_out FROM pages_records WHERE id='$max_id'");
        $query7 = mysqli_fetch_row($query6);
        $time_out = $query7[0];        
        $t1 = strtotime($time_in);
        $t2 = strtotime($time_out);
        $hours = ($t2 - $t1)/60; 

        $average= "".floor($hours) . ':' . ( ($hours-floor($hours)) * 60 );
        $query6 = mysqli_query($connection,"UPDATE pages_records SET average_time = '$average' WHERE id= '$max_id'");*/
        mysqli_close($connection_cm); 

?>

Function Calls

None

Variables

None

Stats

MD5 b889a2bce26940437aa7bdf7d21a5c85
Eval Count 0
Decode Time 55 ms