Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Proble z wylogowaniem , pomocy, cofniecie strony i odswierzanie
sylsaw
post
Post #1





Grupa: Zarejestrowani
Postów: 62
Pomógł: 0
Dołączył: 29.06.2005

Ostrzeżenie: (10%)
X----


juz sie loguje teraz chcialbym sie wylogowac, jak ma wygladac kod php i html

  1. <?
  2. $login = xxx;
  3. $haslo = xxxx;
  4.  
  5. if($login==$_POST[&#092;"podany_login\"]&&$haslo==$_POST[\"podane_haslo\"]) {
  6. header(&#092;"location: edycja.html\");
  7. }
  8. else {
  9. echo(&#092;"zły login lub hasło\");
  10. }
  11. ?>

taki kod mam do logowania sie

  1. <body bgcolor="#B0CEB5" leftmargin="20" topmargin="50"> <font size="6" face="Arial"><center><b><u>Logowanie</u></b></center></font><br>
  2. <form action="weryf.php" method="post">
  3. <p><tr><td>Login : <input type="text" name="podany_login"><br><br></td></tr></p>
  4. <p><tr><td>Hasło : <input type="password" name="podane_haslo"></td></tr></p>
  5. <input type="submit" value="Zaloguj się">
  6. </form>
  7. </HEAD>
  8. </BODY>
  9. </HTML>


z gory dzieki za pomoc

Ten post edytował sylsaw 15.07.2005, 10:32:49
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 14:47