hallo leute!
habe folgenden fehler.
$open = fopen('include/includes/config.php' , 'w' ); fwrite ( $open , $config ); fclose ( $open ); define ( 'main' , TRUE ); require_once('include/includes/config.php'); require_once('include/includes/function/db/mysql.php'); db_connect(); $sql_file = implode('',file('install.sql')); $sql_statements = explode(';',$sql_file); foreach ( $sql_statements as $sql_statement ) { if ( trim($sql_statement) != '' ) { #echo '
'.$sql_statement.'
--------------------------------------------------------------------------------
'; db_query($sql_statement); } } db_query ("INSERT INTO `prefix_user` ( name , pass , regist , email , recht , llogin ) VALUES ( '".$_POST['admin_name']."','".md5($_POST['admin_pwd'])."','".time()."','".$_POST['admin_amail']."','-5','".time()."')"); db_query ("UPDATE prefix_allg SET t1 = '".$_POST['admin_amail']."|Webmaster' WHERE k = 'kontakt'"); db_query ("UPDATE prefix_allg SET v2 = '".$_POST['admin_amail']."' WHERE k = 'ALLG' AND v1 = 'adminMail'"); db_query ("UPDATE prefix_smilies SET
habe aber config.php auf 666 ge chmod.
bitte um antwort
mfg nostave