Guest User

Untitled

a guest
Jul 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <?php
  2. $error = "";
  3. include("/home/teemsilt/htdocs/Huutokauppa/mysql/yhteys.php");
  4. include("/home/teemsilt/htdocs/Huutokauppa/funktiot.php");
  5. rekisteroi($yhteys);
  6.  
  7. ?>
  8.  
  9. <html>
  10. <head
  11. <title></title>
  12.  
  13. </head>
  14. <body bgcolor="#C0C0C0">
  15. <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
  16. <hr />
  17. <h2> Rekisteröityminen </h2>
  18. Etunimi: <input type="text" name="enimi" /> <br />
  19. Sukunimi: <input type="text" name="snimi" /> <br />
  20. Käyttäjätunnus: <input type="text" name="ktunnus" /> <br />
  21. Salasana: <input type="password" name="salasana" /> <br />
  22. Vahvista salasana: <input type="password" name="vah_salasana" /> <br />
  23. Osoite: <input type="text" name="osoite" /> <br />
  24. Puhelinnumero: <input type="text" name="puh_num" /> <br />
  25. Sähköposti: <input type="text" name="email" /> <br />
  26. Vahvistan ylläolevien tietojen olevan oikein <input type="checkbox" name="tiedot_oik" value="1" />
  27. <input type="submit" value="Rekisteröidy" />
  28. <input type="reset" value="Tyhjennä" />
  29. <hr />
  30. <div id="error"><?php echo $error; ?></div>
  31. </form>
  32.  
  33. </body>
  34.  
  35. </html>
  36.  
  37. <?php
  38. mysql_close($yhteys);
  39. ?>
Add Comment
Please, Sign In to add comment