Impossible d\'ouvrir le fichier ' . $filepath . "\n"; } else { if ( ! feof( $fd ) ) { $script = fgets($fd,4096); } $request = ''; while ( ! feof( $fd ) ) { $request .= fgets($fd,4096); } // Explosion dans un tableau, requete par requete $tabReq = explode(";", $request); // Pour chaque requete foreach ( $tabReq as $req ) { $req=trim($req); if ( $req !== "" ) { // affichage de verification echo '
'; $errmsg = SQLConnect( addslashes($_POST['SQLhost']),addslashes($_POST['SQLuser']),addslashes($_POST['SQLpwd']),addslashes($_POST['SQLdb']) ); if ( $_POST['confirm'] === '1' ) { if ( is_string($errmsg) ) { echo $errmsg; } else { SQLFileExec('base.sql'); ?>