Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Skrypt logowania nie chodzi...
giciarz_1200`
post
Post #1





Grupa: Zarejestrowani
Postów: 33
Pomógł: 0
Dołączył: 3.08.2005

Ostrzeżenie: (0%)
-----


No więc mam skrypt który loguje sie i wogole(DZIAŁĄ). Ale gdy wincludowałem skrypt na moją stronę i zalogowałem się wyskakuje blad 404. Co zrobić??

PS skrypt jest oparty na MySQL-u.

Pozdro 4all
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
giciarz_1200`
post
Post #2





Grupa: Zarejestrowani
Postów: 33
Pomógł: 0
Dołączył: 3.08.2005

Ostrzeżenie: (0%)
-----


Jak ci mam to dokładniej wyjaśnić??


LOGO po środku na górze lewe menu po lewej, po środku treśc, po prawej logowanie.
index.php:
  1. <?php include("head.php"); 
  2. error_reporting(E_ALL); ?>
  3. <form method="post" action="login.php">
  4. <input type="text" name="email" value="login" class="form"><BR><input type="password" name="pass" class="form" value="Hasło"><BR>
  5. <input type="submit"><img src="images/spacer.gif" width="15" height="1"><BR>
  6. -<A href="register.php">Rejestracja</a><br>-<a href="getpass.php">Przypomnij hasło</a><BR>
  7. </form>
  8. <?php include("foot.php"); ?>

head.php:
  1. <?php ob_start(); include("config.php"); ?>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xml; charset=iso-8859-2" />
  5. <title>Strona 1</title>
  6. <style type="text/css">
  7. <!--
  8. body {
  9. color: #000000;
  10. font-family: verdana;
  11. font-size: 10px;
  12. }
  13. td, tr, table {
  14. color: #000000;
  15. font-family: verdana;
  16. font-size: 10px;
  17. }
  18. INPUT.form, TEXTAREA.form {
  19.  width: 150px;
  20. height: 20px;
  21. border: 1px #FFFFFF solid;
  22. border-bottom: 1px dashed;
  23. border-right: 1px dashed;
  24. overflow: no; 
  25. margin-bottom: 5px;
  26. padding-left: 5px;
  27. font-family: Arial;
  28. font-size: 11px;
  29. color: #5C5C5C;
  30. }
  31. a:link
  32. {
  33. font-family: verdana;
  34. font-size: 10px;
  35. color: #DF7A1C;
  36. text-decoration: none;
  37. }
  38.  
  39. a:hover
  40. {
  41. font-family: verdana;
  42. font-size: 10px;
  43. color: #DF7A1C;
  44. text-decoration: underline;
  45. }
  46.  
  47. a:visited
  48. {
  49. font-family: verdana;
  50. font-size: 10px;
  51. color: #DF7A1C;
  52. text-decoration: none;
  53. }
  54. -->
  55. </style>
  56. </head>
  57. <body bgcolor="#FFFFFF">
  58. <table border="0">
  59. <tr>
  60.  <td valign="top">

foot.php:
  1.  </td></tr>
  2. </table>
  3. </body>
  4. </html>
  5. <?php ob_end_flush(); ?>


Ten post edytował giciarz_1200` 12.11.2005, 22:08:58
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 11.10.2025 - 04:25