ERROR: '.$error.'

back'); } if(!(strlen(trim($db)))) { $error="please verify your data!"; die('ERROR: '.$error.'

back'); } if(!(strlen(trim($adminname)))) { $error="please verify your data!"; die('ERROR: '.$error.'

back'); } if(!(strlen(trim($adminpwd)))) { $error="please verify your data!"; die('ERROR: '.$error.'

back'); } if(!(strlen(trim($adminmail)))) { $error="please verify your data!"; die('ERROR: '.$error.'

back'); } if(!(strlen(trim($url)))) { $error="please verify your data!"; die('ERROR: '.$error.'

back'); } $adminpassword=md5($adminpwd); //write _mysql.php $file = ("../_mysql.php"); if($fp = fopen ($file, "wb")) { $string=' '; fwrite ($fp, $string); fclose($fp); } else echo 'Writing to file failed. Please write your MySQL-Data to the _mysql.php manually.'; //write sql-tables mysql_connect($host, $user, $pwd) or die ('ERROR: no connection to mysql'); mysql_select_db($db) or die ('ERROR: cannot connect to databe "'.$db.'"'); define(PREFIX, $prefix); fullinstall(); update4beta4_4beta5(); update4beta5_4beta6(); update4beta6_4final(); update40000_40100(); update40100_40101(); } elseif($_POST['installtype'] == "update_beta") { include('../_mysql.php'); mysql_connect($host, $user, $pwd) or die ('ERROR: no connection to mysql'); mysql_select_db($db) or die ('ERROR: cannot connect to "'.$db.'"'); update4beta4_4beta5(); update4beta5_4beta6(); update4beta6_4final(); update40000_40100(); update40100_40101(); } elseif($_POST['installtype'] == "update_beta5") { include('../_mysql.php'); mysql_connect($host, $user, $pwd) or die ('ERROR: no connection to mysql'); mysql_select_db($db) or die ('ERROR: cannot connect to"'.$db.'"'); update4beta5_4beta6(); update4beta6_4final(); update40000_40100(); update40100_40101(); } elseif($_POST['installtype'] == "update_beta6") { include('../_mysql.php'); mysql_connect($host, $user, $pwd) or die ('ERROR: no connection to mysql'); mysql_select_db($db) or die ('ERROR: cannot connect to"'.$db.'"'); update4beta6_4final(); update40000_40100(); update40100_40101(); } elseif($_POST['installtype'] == "update_final") { include('../_mysql.php'); mysql_connect($host, $user, $pwd) or die ('ERROR: no connection to mysql'); mysql_select_db($db) or die ('ERROR: cannot connect to"'.$db.'"'); update40000_40100(); update40100_40101(); } elseif($_POST['installtype'] == "update_40100") { include('../_mysql.php'); mysql_connect($host, $user, $pwd) or die ('ERROR: no connection to mysql'); mysql_select_db($db) or die ('ERROR: cannot connect to"'.$db.'"'); update40100_40101(); } ?>

Installation complete!
Please delete /install dir for your own security.
Please reset CHMOD of _mysql.php to 644.

View Site