Fix Php Script 2

Fix Php Script 2
I recently changed to a new ISP and now one of my php scripts isn’t working.

This script creates a MySQL database and imports a .sql file if it exists in the same folder. I use this so my users can create their own database without going through cPanel etc.

I have uploaded text versions of the current script so you can read them here:

a2z-internet.com/db_wizard/text/

The non-working script can be seen here:

a2z-internet.com/db_wizard/

Further to revious comments, the d/b login details are NOT left blank in “security.php”. I am still getting the error “Database installation failed”. Here is “security.php”:

<?

/*********************************************************************************

*************** SECURITY PAGE : MUST EDIT BEFORE GIVE IT TO USER *****************

This page contain the security information of the Database passwords

Please change all values before give it to other user

*********************************************************************************/

/************* DEFAULT DATABASE INFO BELOW *****************/

// MySQL host

$dbhost = “localhost”;

// MySQL username

$dbuser = “azintern_chris”;

// MySQL password

$dbpass = “Te7?|Rbw|=%;”;

?>

Leave a Reply

Your email address will not be published. Required fields are marked *