if (!$_GET['wsn'] || !$_GET['mail'] || !$_GET['vzk'] || !$_GET['user'] || !$_GET['pass']){ //Install form... echo "
"; } else{ //Installeren $orig = umask(); umask(0); mkdir("WSFILES", 0777); umask($orig); $file = fopen("WSFILES/cats", "a"); fclose ($file); $file = fopen("WSFILES/producten", "a"); fclose ($file); unlink("config.php"); $file = fopen("config.php", "a"); $string = "," . $_GET['wsn'] . "," . $_GET['mail'] . "," . $_GET['vzk'] . "," . md5($_GET['user']) . "," . md5($_GET['pass']) . ",?>"; fputs($file, $string); fclose($file); echo "WebShop v.3 is nu met succes geïnstalleerd, verwijder install.php om misbruik te voorkomen!"; echo "