diff --git a/CREDITS b/CREDITS
deleted file mode 100644
index 71cc78dca..000000000
--- a/CREDITS
+++ /dev/null
@@ -1,8 +0,0 @@
-phpMyAdmin - Credits
-====================
-
- Please have a look to the Documentation.txt or
- Documentation.html files, or visit
- http://www.phpmyadmin.net/home_page/team.php and
- http://www.phpmyadmin.net/home_page/about.php
-
diff --git a/INSTALL b/INSTALL
deleted file mode 100644
index bcc496548..000000000
--- a/INSTALL
+++ /dev/null
@@ -1,6 +0,0 @@
-phpMyAdmin - Installation
-=========================
-
-Please have a look to the Documentation.txt or Documentation.html files.
-
-
diff --git a/README b/README
index 33d529a98..19dee4ddd 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
phpMyAdmin - Readme
===================
-Version 3.4.11.1
+Retro Edition 😎
A set of PHP-scripts to manage MySQL over the web.
diff --git a/README.VENDOR b/README.VENDOR
deleted file mode 100644
index d6f510cb3..000000000
--- a/README.VENDOR
+++ /dev/null
@@ -1,37 +0,0 @@
-phpMyAdmin - hints for distributing phpMyAdmin
-==============================================
-
-This document is intended to give advices to people who want to
-redistribute phpMyAdmin inside other software package such as Linux
-distribution or some all in one package including web server and MySQL
-server.
-
-Generally you can customize some basic aspects (paths to some files and
-behavior) in libraries/vendor_config.php.
-
-For example if you want setup script to generate config file in var,
-change SETUP_CONFIG_FILE to /var/lib/phpmyadmin/config.inc.php and you
-will also probably want to skip directory writable check, so set
-SETUP_DIR_WRITABLE to false.
-
-External libraries
-------------------
-
-phpMyAdmin includes several external libraries, you might want to
-replace them with system ones if they are available, but please note
-that you should test whether version you provide is compatible with the
-one we ship.
-
-Currently known list of external libraries:
-
-js/jquery
- jQuery js framework
-js/colorpicker
- jQuery based color picker
-
-libraries/php-gettext
- php-gettext library
-libraries/tcpdf
- tcpdf library, modified for our needs!
-
-# vim: et ts=4 sw=4 sts=4 tw=72 spell spelllang=en_us
diff --git a/TODO b/TODO
deleted file mode 100644
index 7e9652761..000000000
--- a/TODO
+++ /dev/null
@@ -1,8 +0,0 @@
-phpMyAdmin - Todo
-=================
-
-We are currently using the Sourceforge Tracker as Todo list:
-
- http://sourceforge.net/tracker/?atid=377411&group_id=23067&func=browse
-
--- swix/20010704
diff --git a/contrib/README b/contrib/README
deleted file mode 100644
index ac8ef6c8a..000000000
--- a/contrib/README
+++ /dev/null
@@ -1,20 +0,0 @@
-phpMyAdmin Third Party Contributions
-====================================
-
-This directory contains various stuff contributed by users that might be
-useful to other. There is no guarantee it will work for you.
-
-Current content of this directory:
-
-packaging
- Contains files needed for creating packages for various
- distributions. Please prefer official packages from your vendor if
- possible.
-
-swekey.sample.conf
- SweKey authentication configuration example.
-
-htaccess
- Sample Apache configuration for limit access for bots.
-
-# vim: expandtab ts=4 sw=4 sts=4 tw=78
diff --git a/contrib/htaccess b/contrib/htaccess
deleted file mode 100644
index 6eebe0101..000000000
--- a/contrib/htaccess
+++ /dev/null
@@ -1,19 +0,0 @@
-RewriteEngine on
-
-# Allow only GET and POST verbs
-RewriteCond %{REQUEST_METHOD} !^(GET|POST)$ [NC,OR]
-
-# Ban Typical Vulnerability Scanners and others
-# Kick out Script Kiddies
-RewriteCond %{HTTP_USER_AGENT} ^(java|curl|wget).* [NC,OR]
-RewriteCond %{HTTP_USER_AGENT} ^.*(libwww-perl|curl|wget|python|nikto|wkito|pikto|scan|acunetix).* [NC,OR]
-RewriteCond %{HTTP_USER_AGENT} ^.*(winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner).* [NC,OR]
-
-# Ban Search Engines, Crawlers to your administrative panel
-# No reasons to access from bots
-# Ultimately Better than the useless robots.txt
-# Did google respect robots.txt?
-# Try google: intitle:phpMyAdmin intext:"Welcome to phpMyAdmin *.*.*" intext:"Log in" -wiki -forum -forums -questions intext:"Cookies must be enabled"
-RewriteCond %{HTTP_USER_AGENT} ^.*(AdsBot-Google|ia_archiver|Scooter|Ask.Jeeves|Baiduspider|Exabot|FAST.Enterprise.Crawler|FAST-WebCrawler|www\.neomo\.de|Gigabot|Mediapartners-Google|Google.Desktop|Feedfetcher-Google|Googlebot|heise-IT-Markt-Crawler|heritrix|ibm.com\cs/crawler|ICCrawler|ichiro|MJ12bot|MetagerBot|msnbot-NewsBlogs|msnbot|msnbot-media|NG-Search|lucene.apache.org|NutchCVS|OmniExplorer_Bot|online.link.validator|psbot0|Seekbot|Sensis.Web.Crawler|SEO.search.Crawler|Seoma.\[SEO.Crawler\]|SEOsearch|Snappy|www.urltrends.com|www.tkl.iis.u-tokyo.ac.jp/~crawler|SynooBot|crawleradmin.t-info@telekom.de|TurnitinBot|voyager|W3.SiteSearch.Crawler|W3C-checklink|W3C_Validator|www.WISEnutbot.com|yacybot|Yahoo-MMCrawler|Yahoo\!.DE.Slurp|Yahoo\!.Slurp|YahooSeeker).* [NC]
-RewriteRule .* - [F]
-
diff --git a/contrib/swekey.sample.conf b/contrib/swekey.sample.conf
deleted file mode 100644
index ebf1aedf0..000000000
--- a/contrib/swekey.sample.conf
+++ /dev/null
@@ -1,44 +0,0 @@
-# This is a typical file used to enable Swekey hardware authentication.
-#
-# To activate the Swekey authentication add the following line to your config.inc.php file.
-# $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
-# Then rename this file "swekey-pma.conf" and copy it to the /etc directory.
-# Add all the Swekey ids you want to grant access to in the file.
-# After each Swekey id put the corresponding user name.
-#
-# If you don't know the id of a Swekey just visit http://www.swekey.com?sel=support
-# while your Swekey is connected.
-#
-# If you need to purchase a Swekey please visit http://phpmyadmin.net/auth_key
-# since this link provides funding to PhpMyAdmin.
-#
-
-0000000000000000000000000000763A:root
-000000000000000000000000000089E4:steve
-0000000000000000000000000000231E:scott
-
-#
-# It is recommended to include the following lines to contact the
-# authentication servers in SSL mode.
-#
-
-SERVER_CHECK=https://auth-check-ssl.musbe.net
-SERVER_RNDTOKEN=https://auth-rnd-gen-ssl.musbe.net
-SERVER_STATUS=https://auth-status-ssl.musbe.net
-
-#
-# The path of the root certificate file used to ensure a secure
-# communication with the authentication servers in SSL mode.
-# If not specified, will use musbe-ca.crt found in your
-# phpMyAdmin/libraries/auth/swekey.
-#
-
-#CA_FILE=/var/http-root/phpmyadmin/libraries/auth/swekey/musbe-ca.crt
-
-#
-# If your server receives many login requests, you can enable the random
-# token caching to accelerate the authentication process.
-# Token caching is enabled by default.
-#
-
-#ENABLE_TOKEN_CACHE=0
diff --git a/scripts/compress-js b/scripts/compress-js
deleted file mode 100755
index ea43782ea..000000000
--- a/scripts/compress-js
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set -e
-
-for file in `find js -name '*.js' -not -name '*min.js'` ; do
- mkdir -p sources/`dirname $file`
- mv $file sources/$file
- java -jar ./scripts/google-javascript-compiler/compiler.jar --js sources/$file --js_output_file $file
-done
diff --git a/scripts/convertcfg.pl b/scripts/convertcfg.pl
deleted file mode 100755
index 69010fde0..000000000
--- a/scripts/convertcfg.pl
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/perl
-#
-#
-# Configuration converter
-# Converts from old-style (Pre-2.3) configuration files to new format found in PMA-2.3
-#
-# Takes input from STDIN, sends output to STDOUT
-#
-
-while(<>)
-{ s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g;
- print;
- }
-
-
diff --git a/scripts/create-release.sh b/scripts/create-release.sh
deleted file mode 100755
index cd91e9945..000000000
--- a/scripts/create-release.sh
+++ /dev/null
@@ -1,308 +0,0 @@
-#!/bin/sh
-#
-# vim: expandtab sw=4 ts=4 sts=4:
-#
-
-# More documentation about making a release is available at:
-# http://wiki.phpmyadmin.net/pma/Releasing
-
-# Fail on undefined variables
-set -u
-# Fail on failure
-set -e
-
-KITS="all-languages english"
-COMPRESSIONS="zip-7z tbz txz tgz 7z"
-
-if [ $# -lt 2 ]
-then
- echo "Usages:"
- echo " create-release.sh Decoded:phpMyAdmin $version Documentation
"
- - in README
-
-Continue (y/n)?
-END
-read do_release
-
-if [ "$do_release" != 'y' ]; then
- exit 100
-fi
-
-# Ensure we have tracking branch
-ensure_local_branch $branch
-
-# Create working copy
-mkdir -p release
-workdir=release/phpMyAdmin-$version
-if [ -d $workdir ] ; then
- echo "Working directory '$workdir' already exists, please move it out of way"
- exit 1
-fi
-git clone --local . $workdir
-cd $workdir
-
-# Checkout branch
-ensure_local_branch $branch
-git checkout $branch
-
-# Check release version
-if ! grep -q "'PMA_VERSION', '$version'" libraries/Config.class.php ; then
- echo "There seems to be wrong version in libraries/Config.class.php!"
- exit 2
-fi
-if ! grep -q "phpMyAdmin $version - Documentation" Documentation.html ; then
- echo "There seems to be wrong version in Documentation.html"
- exit 2
-fi
-if ! grep -q "Version $version\$" README ; then
- echo "There seems to be wrong version in README"
- exit 2
-fi
-
-# Cleanup release dir
-LC_ALL=C date -u > RELEASE-DATE-${version}
-
-# Building Documentation.txt
-echo "* Generating Documentation.txt"
-LC_ALL=C w3m -dump Documentation.html > Documentation.txt
-
-# Check for gettext support
-if [ -d po ] ; then
- GETTEXT=1
-else
- GETTEXT=0
-fi
-
-# Generate mo files
-if [ $GETTEXT -eq 1 ] ; then
- echo "* Generating mo files"
- ./scripts/generate-mo
- if [ -f ./scripts/remove-incomplete-mo ] ; then
- echo "* Removing incomplete translations"
- ./scripts/remove-incomplete-mo
- fi
- echo "* Removing gettext source files"
- rm -rf po
-fi
-
-if [ -f ./scripts/compress-js ] ; then
- echo "* Compressing javascript files"
- ./scripts/compress-js
- rm -rf sources
-fi
-
-echo "* Removing unneeded files"
-
-# Remove test directory from package to avoid Path disclosure messages
-# if someone runs /test/wui.php and there are test failures
-rm -rf test
-
-# Remove javascript compiler, no need to ship it
-rm -rf scripts/google-javascript-compiler/
-
-# Remove scripts which are not useful for user
-for s in compress-js create-release.sh generate-mo mergepo.py php2gettext.sh remove_control_m.sh update-po upload-release pending-po pendingpo.py ; do
- rm -f scripts/$s
-done
-
-# Remove git metadata
-rm -rf .git
-find . -name .gitignore -print0 | xargs -0 -r rm -f
-
-cd ..
-
-# Prepare all kits
-for kit in $KITS ; do
- # Copy all files
- name=phpMyAdmin-$version-$kit
- cp -r phpMyAdmin-$version $name
-
- # Cleanup translations
- cd phpMyAdmin-$version-$kit
- scripts/lang-cleanup.sh $kit
- rm -f scripts/lang-cleanup.sh
- cd ..
-
- # Remove tar file possibly left from previous run
- rm -f $name.tar
-
- # Prepare distributions
- for comp in $COMPRESSIONS ; do
- case $comp in
- tbz|tgz|txz)
- if [ ! -f $name.tar ] ; then
- echo "* Creating $name.tar"
- tar cf $name.tar $name
- fi
- if [ $comp = tbz ] ; then
- echo "* Creating $name.tar.bz2"
- bzip2 -9k $name.tar
- fi
- if [ $comp = txz ] ; then
- echo "* Creating $name.tar.xz"
- xz -9k $name.tar
- fi
- if [ $comp = tgz ] ; then
- echo "* Creating $name.tar.gz"
- gzip -9c $name.tar > $name.tar.gz
- fi
- ;;
- zip)
- echo "* Creating $name.zip"
- zip -q -9 -r $name.zip $name
- ;;
- zip-7z)
- echo "* Creating $name.zip"
- 7za a -bd -tzip $name.zip $name > /dev/null
- ;;
- 7z)
- echo "* Creating $name.7z"
- 7za a -bd $name.7z $name > /dev/null
- ;;
- *)
- echo "WARNING: ignoring compression '$comp', not known!"
- ;;
- esac
-
- # Cleanup
- rm -f $name.tar
- done
-
- # Remove directory with current dist set
- rm -rf $name
-done
-
-# Cleanup
-rm -rf phpMyAdmin-${version}
-
-
-echo ""
-echo ""
-echo ""
-echo "Files:"
-echo "------"
-
-ls -la *.gz *.zip *.bz2 *.7z
-
-cd ..
-
-
-if [ $# -gt 0 ] ; then
- echo
- echo "Additional tasks:"
- while [ $# -gt 0 ] ; do
- param=$1
- case $1 in
- --tag)
- tagname=RELEASE_`echo $version | tr . _ | tr '[:lower:]' '[:upper:]' | tr -d -`
- echo "* Tagging release as $tagname"
- git tag -a -m "Released $version" $tagname $branch
- if echo $version | grep -q '^2\.11\.' ; then
- echo '* 2.11 branch, no STABLE/TESTING update'
- else
- if echo $version | grep '[a-z_-]' ; then
- mark_as_release $branch TESTING
- else
- # We update both branches here
- # As it does not make sense to have older testing than stable
- if echo $version | grep -q '^3\.3\.' ; then
- echo '* 3.3 branch, no TESTING update'
- else
- mark_as_release $branch TESTING
- fi
- mark_as_release $branch STABLE
- fi
- git checkout master
- fi
- echo " Dont forget to push tags using: git push --tags"
- ;;
- *)
- echo "Unknown parameter: $1!"
- exit 1
- esac
- shift
- done
- echo
-fi
-
-cat <phpMyAdmin 2.2.2-rc1 Documentation
"
-
- 8. add a group for bug tracking this new version, at
- https://sourceforge.net/tracker/admin/index.php?group_id=23067&atid=377408&add_group=1
-
- 9. the end :-)
-
-END
diff --git a/scripts/create_tables.sql b/scripts/create_tables.sql
deleted file mode 100644
index 1efdaadfd..000000000
--- a/scripts/create_tables.sql
+++ /dev/null
@@ -1,208 +0,0 @@
--- --------------------------------------------------------
--- SQL Commands to set up the pmadb as described in Documentation.html.
---
--- This file is meant for use with MySQL 5 and above!
---
--- This script expects the user pma to already be existing. If we would put a
--- line here to create him too many users might just use this script and end
--- up with having the same password for the controluser.
---
--- This user "pma" must be defined in config.inc.php (controluser/controlpass)
---
--- Please don't forget to set up the tablenames in config.inc.php
---
-
--- --------------------------------------------------------
-
---
--- Database : `phpmyadmin`
---
-CREATE DATABASE IF NOT EXISTS `phpmyadmin`
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-USE phpmyadmin;
-
--- --------------------------------------------------------
-
---
--- Privileges
---
--- (activate this statement if necessary)
--- GRANT SELECT, INSERT, DELETE, UPDATE ON `phpmyadmin`.* TO
--- 'pma'@localhost;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_bookmark`
---
-
-CREATE TABLE IF NOT EXISTS `pma_bookmark` (
- `id` int(11) NOT NULL auto_increment,
- `dbase` varchar(255) NOT NULL default '',
- `user` varchar(255) NOT NULL default '',
- `label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
- `query` text NOT NULL,
- PRIMARY KEY (`id`)
-)
- ENGINE=MyISAM COMMENT='Bookmarks'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_column_info`
---
-
-CREATE TABLE IF NOT EXISTS `pma_column_info` (
- `id` int(5) unsigned NOT NULL auto_increment,
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `column_name` varchar(64) NOT NULL default '',
- `comment` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
- `mimetype` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
- `transformation` varchar(255) NOT NULL default '',
- `transformation_options` varchar(255) NOT NULL default '',
- PRIMARY KEY (`id`),
- UNIQUE KEY `db_name` (`db_name`,`table_name`,`column_name`)
-)
- ENGINE=MyISAM COMMENT='Column information for phpMyAdmin'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_history`
---
-
-CREATE TABLE IF NOT EXISTS `pma_history` (
- `id` bigint(20) unsigned NOT NULL auto_increment,
- `username` varchar(64) NOT NULL default '',
- `db` varchar(64) NOT NULL default '',
- `table` varchar(64) NOT NULL default '',
- `timevalue` timestamp NOT NULL,
- `sqlquery` text NOT NULL,
- PRIMARY KEY (`id`),
- KEY `username` (`username`,`db`,`table`,`timevalue`)
-)
- ENGINE=MyISAM COMMENT='SQL history for phpMyAdmin'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_pdf_pages`
---
-
-CREATE TABLE IF NOT EXISTS `pma_pdf_pages` (
- `db_name` varchar(64) NOT NULL default '',
- `page_nr` int(10) unsigned NOT NULL auto_increment,
- `page_descr` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL default '',
- PRIMARY KEY (`page_nr`),
- KEY `db_name` (`db_name`)
-)
- ENGINE=MyISAM COMMENT='PDF relation pages for phpMyAdmin'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_relation`
---
-
-CREATE TABLE IF NOT EXISTS `pma_relation` (
- `master_db` varchar(64) NOT NULL default '',
- `master_table` varchar(64) NOT NULL default '',
- `master_field` varchar(64) NOT NULL default '',
- `foreign_db` varchar(64) NOT NULL default '',
- `foreign_table` varchar(64) NOT NULL default '',
- `foreign_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`master_db`,`master_table`,`master_field`),
- KEY `foreign_field` (`foreign_db`,`foreign_table`)
-)
- ENGINE=MyISAM COMMENT='Relation table'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_table_coords`
---
-
-CREATE TABLE IF NOT EXISTS `pma_table_coords` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `pdf_page_number` int(11) NOT NULL default '0',
- `x` float unsigned NOT NULL default '0',
- `y` float unsigned NOT NULL default '0',
- PRIMARY KEY (`db_name`,`table_name`,`pdf_page_number`)
-)
- ENGINE=MyISAM COMMENT='Table coordinates for phpMyAdmin PDF output'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_table_info`
---
-
-CREATE TABLE IF NOT EXISTS `pma_table_info` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `display_field` varchar(64) NOT NULL default '',
- PRIMARY KEY (`db_name`,`table_name`)
-)
- ENGINE=MyISAM COMMENT='Table information for phpMyAdmin'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_designer_coords`
---
-
-CREATE TABLE IF NOT EXISTS `pma_designer_coords` (
- `db_name` varchar(64) NOT NULL default '',
- `table_name` varchar(64) NOT NULL default '',
- `x` INT,
- `y` INT,
- `v` TINYINT,
- `h` TINYINT,
- PRIMARY KEY (`db_name`,`table_name`)
-)
- ENGINE=MyISAM COMMENT='Table coordinates for Designer'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_tracking`
---
-
-CREATE TABLE IF NOT EXISTS `pma_tracking` (
- `db_name` varchar(64) collate utf8_bin NOT NULL,
- `table_name` varchar(64) collate utf8_bin NOT NULL,
- `version` int(10) unsigned NOT NULL,
- `date_created` datetime NOT NULL,
- `date_updated` datetime NOT NULL,
- `schema_snapshot` text collate utf8_bin NOT NULL,
- `schema_sql` text collate utf8_bin,
- `data_sql` longtext collate utf8_bin,
- `tracking` set('UPDATE','REPLACE','INSERT','DELETE','TRUNCATE','CREATE DATABASE','ALTER DATABASE','DROP DATABASE','CREATE TABLE','ALTER TABLE','RENAME TABLE','DROP TABLE','CREATE INDEX','DROP INDEX','CREATE VIEW','ALTER VIEW','DROP VIEW') collate utf8_bin default NULL,
- `tracking_active` int(1) unsigned NOT NULL default '1',
- PRIMARY KEY (`db_name`,`table_name`,`version`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `pma_userconfig`
---
-
-CREATE TABLE IF NOT EXISTS `pma_userconfig` (
- `username` varchar(64) NOT NULL,
- `timevalue` timestamp NOT NULL,
- `config_data` text NOT NULL,
- PRIMARY KEY (`username`)
-)
- ENGINE=MyISAM COMMENT='User preferences storage for phpMyAdmin'
- DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
diff --git a/scripts/decode_bug.php b/scripts/decode_bug.php
deleted file mode 100644
index f935a7706..000000000
--- a/scripts/decode_bug.php
+++ /dev/null
@@ -1,103 +0,0 @@
-
- *
- * @package phpMyAdmin-debug
- */
-
-/**
- * Displays the form
- */
-?>
-
-
-
-
-
-
-
- Parser BUG decoder
-
-
-
-
-
- decodes the bug report
- */
-
-/**
- * Display the decoded bug report in ASCII format
- *
- * @param string the text data
- *
- * @return string the text enclosed by "...
" tags
- *
- * @access public
- */
-function PMA_printDecodedBug($textdata)
-{
- return '' . htmlspecialchars($textdata) . '
';
-} // end of the "PMA_printDecodedBug()" function
-
-
-if (!empty($_POST) && isset($_POST['bug_encoded'])) {
- $bug_encoded = $_POST['bug_encoded'];
-}
-
-if (!empty($bug_encoded) && is_string($bug_encoded)) {
- if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
- $bug_encoded = stripslashes($bug_encoded);
- }
-
- $bug_encoded = preg_replace('/[[:space:]]/', '', $bug_encoded);
- $bug_decoded = base64_decode($bug_encoded);
- if (substr($bug_encoded, 0, 2) == 'eN') {
- if (function_exists('gzuncompress')) {
- $result = PMA_printDecodedBug(gzuncompress($bug_decoded));
- } else {
- $result = 'Error: "gzuncompress()" is unavailable!' . "\n";
- }
- } else {
- $result = PMA_printDecodedBug($bug_decoded);
- } // end if... else...
-
- echo '