Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<td>Select a File to Process:</td> <td align="center"> <div id="listFile"> ..
Decoded Output download
<td>Select a File to Process:</td>
<td align="center">
<div id="listFile">
<select name="selFile" id="selFile">
<?php
if ($handle = opendir('uploads/')) {
while (false !== ($file = readdir($handle))) {
if(strpos($file,".csv",1)){
if(isset($_REQUEST['selFile']) && $_REQUEST['selFile'] == $file){
echo "<option selected> $file </option>";
}
else{
echo "<option>$file</option>";
}
}
}
closedir($handle);
}
?>
</select>
</div>
</td>
Did this file decode correctly?
Original Code
<td>Select a File to Process:</td>
<td align="center">
<div id="listFile">
<select name="selFile" id="selFile">
<?php
if ($handle = opendir('uploads/')) {
while (false !== ($file = readdir($handle))) {
if(strpos($file,".csv",1)){
if(isset($_REQUEST['selFile']) && $_REQUEST['selFile'] == $file){
echo "<option selected> $file </option>";
}
else{
echo "<option>$file</option>";
}
}
}
closedir($handle);
}
?>
</select>
</div>
</td>
Function Calls
opendir | 1 |
Stats
MD5 | 7eb2cc45d2f60076e46638b994771b5f |
Eval Count | 0 |
Decode Time | 67 ms |