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 "config.php"; if(isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQ..

Decoded Output download

<?php 
	require_once "config.php"; 
	if(isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD']=='POST')  
	{		 
			$s = filter($_POST["s"]);      //filter special char from user input  
		    	$h = modenam($_POST["h"]);     //??? 
			$r = random_gen();             //just a random generator 
			if($s != false && $h != false) { 
				if($s.$r == $h) { 
					print "You can move on to challenge 2"; 
				} 
				else{ 
					print "Nope"; 
				    } 
			} 
			else { 
				print "<p>Hum ...</p>"; 
			} 
	} 
 
?> 
			else { 
				print "<p>Hum ...</p>"; 
			} 
	}

Did this file decode correctly?

Original Code

<?php
	require_once "config.php";
	if(isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD']=='POST') 
	{		
			$s = filter($_POST["s"]);      //filter special char from user input 
		    	$h = modenam($_POST["h"]);     //???
			$r = random_gen();             //just a random generator
			if($s != false && $h != false) {
				if($s.$r == $h) {
					print "You can move on to challenge 2";
				}
				else{
					print "Nope";
				    }
			}
			else {
				print "<p>Hum ...</p>";
			}
	}

?>
			else {
				print "<p>Hum ...</p>";
			}
	}

Function Calls

None

Variables

None

Stats

MD5 d9ac9218451a57a68d129a98b9f5b196
Eval Count 0
Decode Time 78 ms