A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

May 15, 2012

Adminer and phpmyadmin - problem



need ur help

I have setup the adminer and phpmyadmin on Redhat Linux Enterprise 5.

Download the editor and edtor.mysql with created 2 subfolders, folder 'ad' for Adminer 'editor' and 'editormysql' and folder 'myphp' for phpmyadmin into www/html folder .

When i tried to open the file as http://localhost/ad/editor.php or editormysql.php, it open as script file not the main output. same for phpmyadmin. Please help how to open the file. Do I need to permission 'chmod' to folder and the file?

appreciate ur help guys.

like below:-
/** Adminer Editor - Compact database editor
* @link http://www.adminer.org/
* @author Jakub Vrana, http://www.vrana.cz/
* @copyright 2009 Jakub Vrana
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
* @version 3.3.4
*/error_reporting(6135);$zb=!ereg('^(unsafe_raw)?$',ini_get("filter.default"));if($zb||ini_get("filter.default_flags")){foreach(array('_GET','_POST','_COOKIE','_SERVER')as$W){$ae=filter_input_array(constant("INPUT$W"),FILTER_UNSAFE_RAW);if($ae){$$W=$ae;}}}if(isset($_GET["file"])){header("Expires: ".gmdate("D, d M Y H:i:s",time()+365*24*60*60)." GMT");if($_GET["file"]=="favicon.ico"){header("Content-Type: image/x-icon");echo

Click Here!