Moja strona
coś jest nie tak w pliku "setup.php" oto jego treść:
<? include("setup/polski.php"); echo" <html> <head> <meta http-equiv='Content-Type' content='text/html; charset=windows-1250'> <link rel='stylesheet' style='text/css' href='setup/setup.css'> </head> <body topmargin='10' leftmargin='40'> <table border='0' width='100%'> <tr> </tr> </table> <form action='setup.php' method='post'> <table border='0' width='100%'> <tr> </tr> <tr> </tr> <tr> </tr> <tr> </tr> </table> <table border='0' width='100%'> <tr> </tr> </table> </form> <table border='0' width='100%'> <tr>"; if($przycisk==Dalej) { if($_POST['login']=="" && $_POST['haslo']=="") { echo "<td width='100%' align='center' class='tbl1'>".$localset['no_login_haslo']."</td>"; } elseif($_POST['login']=="") { } elseif($_POST['haslo']=="") { } elseif($_POST['login']!="" && $_POST['haslo']!="") { if(is_writable("include") && is_writable("users")) { $plik = fopen("include/config.php", "w"); fputs($plik, "<?\n"); fputs($plik, "\$nazwa_serwisu=\"$nazwa_serwisu\";\n"); fputs($plik, "\$theme=\"standardowa.css\";\n"); fputs($plik, "\$language=\"polski.php\";\n"); fputs($plik, "\$menu=\"tak\";\n"); fputs($plik, "\$logowanie=\"tak\";\n"); fputs($plik, "\$lang=\"pl\";\n"); fclose($plik); $plik = fopen("users/".$_POST['login']."", "w"); $pass = md5($_POST['haslo']); fputs($plik, "$admin|".$_POST['login']."|$pass|poczta|gadu-gadu|komorka|miasto|1|"); fclose($plik); } else { } } } echo" </body> </html> "; ?>
Na serwerze w katalogu include nie tworzy się plik config.php a w katalogu users nie tworzy się użytkownik
nie pojawiają się komunikaty a w krasnalu wszystko jest git.
Proszę o pomoc