sql - <?php /* * Invision Power File Manager * MySQL...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<?php < /* * Invision Power File Manager * MySQL Manager Script * Copyright (c) 2003 Invision Power Services * ------------------------------------- * You may not remove the copyright or * redistribute the script in any form * * Authors: Stephen Ball <stephen@invisionfilemanager.com> * * Last Modified: 22nd February 2003 * */ error_reporting(0); e if (!(include("./modules/header.lib.php"))) { die("<p align=\"center\">There was an error loading the header module</p>"); } // The user doesn't have permission to access mysql if ($params["mysql"] != 1) { redirect($scripts["main"] . "?msg=no_per_sql"); } $op = param("op", "POST"); $databases = explode(",", $params["dbname"]); $ if($link_id = mysql_connect($params["dbhost"], $params["dbuser"], $params["dbpass"]) == FALSE) { // There was an error connecting to MySQL $database["err_msg"] = mysql_error(); $database["err_num"] = mysql_errno(); $database["caption"] = $database["err_caption"]; $data = template($database, $script_dir . "/settings/templates/mysql_err.tpl");
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

sql - &lt;?php /* * Invision Power File Manager * MySQL...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online