*/
/**
* Displays the form
*/
?>
phpMyAdmin - Parser BUG decoder
Parser BUG decoder
decodes the bug report
*/
if (!empty($_POST) && isset($_POST['bug_encoded'])) {
$bug_encoded = $_POST['bug_encoded'];
}
else if (!empty($HTTP_POST_VARS) && isset($HTTP_POST_VARS['bug_encoded'])) {
$bug_encoded = $HTTP_POST_VARS['bug_encoded'];
}
if (!empty($bug_encoded)) {
if (get_magic_quotes_gpc()) {
$bug_encoded = stripslashes($bug_encoded);
}
$bug_encoded = ereg_replace('[[:space:]]', '', $bug_encoded);
$bug_decoded = base64_decode($bug_encoded);
if (substr($bug_encoded, 0, 2) == 'eN') {
if (function_exists('gzuncompress')) {
$result = ' Decoded:
' . "\n"
. ' ' . gzuncompress($bug_decoded) . '
' . "\n";
} else {
$result = 'Error: "gzuncompress()" is unavailable!' . "\n";
}
}
else {
$result = ' Decoded:
' . "\n"
. ' ' . $bug_decoded . '
'. "\n";
} // end if... else...
echo '' . "\n" . $result . '
' . "\n";
} // end if
?>