Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/app/webroot/phpMyAdmin/a/ |
Upload File : |
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * generate an WebApp file for Prism / WebRunner * * @package PhpMyAdmin * @see http://wiki.mozilla.org/Prism */ /** * @ignore */ define('PMA_MINIMUM_COMMON', true); /** * Gets core libraries and defines some variables */ require './libraries/common.inc.php'; /** * ZIP file handler. */ require './libraries/zip.lib.php'; // ini file $parameters = array( 'id' => 'phpMyAdmin@' . $_SERVER['HTTP_HOST'], 'uri' => $GLOBALS['PMA_Config']->get('PmaAbsoluteUri'), 'status' => 'yes', 'location' => 'no', 'sidebar' => 'no', 'navigation' => 'no', 'icon' => 'phpMyAdmin', ); // dom sript file // none need yet // icon $icon = 'favicon.ico'; // name $name = 'phpMyAdmin.webapp'; $ini_file = "[Parameters]\n"; foreach ($parameters as $key => $value) { $ini_file .= $key . '=' . $value . "\n"; } PMA_downloadHeader($name, 'application/webapp', 0, false); $zip = new ZipFile; $zip->setDoWrite(); $zip->addFile($ini_file, 'webapp.ini'); $zip->addFile(file_get_contents($icon), 'phpMyAdmin.ico'); $zip->file(); ?>