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 $html = ""; if ($_SERVER['REQUEST_METHOD'] == "POST") { if (!isset ($_SESSIO..

Decoded Output download

<?php 
 
$html = ""; 
 
if ($_SERVER['REQUEST_METHOD'] == "POST") { 
	if (!isset ($_SESSION['last_session_id'])) { 
		$_SESSION['last_session_id'] = 0; 
	} 
	$_SESSION['last_session_id']++; 
	$cookie_value = $_SESSION['last_session_id']; 
	setcookie("dvwaSession", $cookie_value); 
} 
?> 

Did this file decode correctly?

Original Code

<?php

$html = "";

if ($_SERVER['REQUEST_METHOD'] == "POST") {
	if (!isset ($_SESSION['last_session_id'])) {
		$_SESSION['last_session_id'] = 0;
	}
	$_SESSION['last_session_id']++;
	$cookie_value = $_SESSION['last_session_id'];
	setcookie("dvwaSession", $cookie_value);
}
?>

Function Calls

None

Variables

$html

Stats

MD5 40ab66e6d14102e18533346e00009ce7
Eval Count 0
Decode Time 124 ms