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 function noother_says_correct($number) { $one = ord('1'); $nine = ..

Decoded Output download

access denied

Did this file decode correctly?

Original Code

<?php
function noother_says_correct($number)
{
       $one = ord('1');
       $nine = ord('9');
       for ($i = 0; $i < strlen($number); $i++)
       {   
               $digit = ord($number{$i});
               if ( ($digit >= $one) && ($digit <= $nine) )
               {
                       return false;
               }
       }
          return $number == '54975581388';
}
$flag='*******';
if(noother_says_correct($_GET['key']))
   echo $flag;
else 
   echo 'access denied';
?>

Function Calls

ord 2
strlen 1
noother_says_correct 1

Variables

$i 0
$one 49
$flag *******
$nine 57
$number None

Stats

MD5 be78fdf66c7b1d1c0fc8549562f35cc0
Eval Count 0
Decode Time 91 ms