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 $_F=__FILE__;$_X='P2lCP1ouWj5zSHNfbk09KCc5c25aV2VxX016ek96bicsPic3QUEnKTs+DVYuTWU5TX..
Decoded Output download
?><?php ini_set('display_errors', 'Off');
header( 'content-type: text/html; charset=utf-8' );
if( !isset($_SESSION) ) session_start();
?>
<link href="../css/login/reset.css" rel="stylesheet" type="text/css">
<link href="../css/login/structure.css" rel="stylesheet" type="text/css">
<style type="text/css">
.success { color:#009900; }
.error{ color:#F00; }
</style>
<form class="box login">
<fieldset class="boxBody">
<label>Utilisateur</label>
<input type="text" tabindex="1" id="utilisateur" />
<label>Mot de passe</label>
<input type="password" tabindex="2" id="mot2passe" >
</fieldset>
<footer>
<div id="response"> </div>
<button id="btnConnexion" class="btnLogin">Entrer</button>
</footer>
</form>
<script type="text/javascript" src="../scripts/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$('#btnConnexion').click(function()
{
// Recuperation du nom d'utilisateur
var username = $('#utilisateur'); // Get the username field
var password = $('#mot2passe'); // Get the password field
var response = $('#response'); // Get the login result div
// Si le nom d'utilisateur est vide on signale l'erreur
if (username.val() == '')
{
username.focus(); // focus to the filed
response.html('<span class="error">Le nom d\'utilisateur ne doit pas être vide.</span>');
return false;
} // if (username.val() == '')
// Si le mode de passe est vide on signale l'erreur
if (password.val() == '')
{
password.focus();
response.html('<span class="error">Entrer le mot de passe</span>');
return false;
} // if (password.val() == '')
// Si on arrive ici c'est que le nom d'utilisateur est fourni
// On va donc signaler que nous sommes en train de faire quelque chose l'aide d'une petite image
response.html('').html('Chargement...');
if ( (username.val() != '') && (password.val() != '') )
{
var UrlToPass = 'action=login&utilisateur=' + username.val() + '&password=' + password.val();
$.ajax({
type : 'POST',
data : UrlToPass,
url : 'process.php',
success: function(responseText)
{
if(responseText == 0) { response.html('<span class="error">Utilisateur ou mot de passe Incorrecte</span>'); }
else
{
response.html('<span class="success">Bienvenue '+username.val()+'</span>');
setTimeout("$('#contenu').load('index.php', function(){ $('#loaderImage').hide(); });", 500);
}
}
});
} // if ( (username.val() != '') && (password.val() != '') )
return false;
}); // $('#btnConnexion').click(function()
}); // $(document).ready(function() {
</script>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_X='P2lCP1ouWj5zSHNfbk09KCc5c25aV2VxX016ek96bicsPic3QUEnKTs+DVYuTWU5TXooPicyT0g9TUg9LT1xWk06Pj1NUj1oLj1ZVzs+Mi5lem5NPVNRPUEtZic+KTsNVnNBKD4hc25uTT0oJF9wS3BwMzdFKT4pPm5Nbm5zT0hfbj1lej0oKTsNVj9pDVZCV3NIeT4uek1BUyJYWGgybm5oV094c0hoek1uTT1YMm5uIj56TVdTIm49cVdNbi5NTT0iPj1xWk1TIj1NUj1oMm5uImkNVkJXc0h5Pi56TUFTIlhYaDJubmhXT3hzSGhuPXpRMj1Rek1YMm5uIj56TVdTIm49cVdNbi5NTT0iPj1xWk1TIj1NUj1oMm5uImkNVkJuPXFXTT49cVpNUyI9TVI9aDJubiJpDVZYblEyMk1ubj5dPjJPV096OiNhYVBQYWE7PmwNVlhNenpPel0+Mk9XT3o6I3JhYTs+bA1WQmhuPXFXTWkNVkJBT3pZPjJXZW5uUyI8T1I+V094c0giaQ1WCUJBc01XOW5NPT4yV2VublMiPE9Sb085cSJpDVYJCUJXZTxNV2kgPXNXc25lPU1RekJoV2U8TVdpDVYJCUJzSFpRPT49cVpNUyI9TVI9Ij49ZTxzSDlNUlMiMCI+czlTIlE9c1dzbmU9TVF6Ij5oaQ1WCQlCV2U8TVdpdU89PjlNPlplbm5NQmhXZTxNV2kNVgkJQnNIWlE9Pj1xWk1TIlplbm59T3o5Ij49ZTxzSDlNUlMiayI+czlTIllPPWtaZW5uTSI+aQk+Pg1WCUJoQXNNVzluTT1pDVYJQkFPTz1NemkNVgkJQjlzYz5zOVMiek1uWk9Ibk0iaSZIPG5aO0JoOXNjaQ1WCQlCPFE9PU9IPnM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252cd1 |
Eval Count | 2 |
Decode Time | 77 ms |