Changeset 250 for quests/registrace.php
- Timestamp:
- Jan 20, 2008, 12:08:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/registrace.php
r240 r250 9 9 $Pass2 = $_POST['pass2']; 10 10 $Email = $_POST['Email']; 11 $Language = $_POST['Language']; 11 12 12 13 if ($Pass == $Pass2) { … … 15 16 if (!$Line) { 16 17 $Addres = $_SERVER['REMOTE_ADDR']; 17 $Database->SQLCommand("INSERT INTO `user` (`user` , `pass` , `LastIP` , `LastLogin` , `Email` )18 VALUES ('$User','$Pass','$Addres',now(),'$Email' )");18 $Database->SQLCommand("INSERT INTO `user` (`user` , `pass` , `LastIP` , `LastLogin` , `Email` , `Language` ) 19 VALUES ('$User','$Pass','$Addres',now(),'$Email','$Language')"); 19 20 // $Database->SQLCommand("INSERT INTO user () VALUES('$User','$Pass','0','$Addres',now(),'0','$Email')"); 20 21 echo 'Registrace probìhla úspì¹nì<br />'; … … 59 60 </tr> 60 61 <tr> 62 <td>Normálnì budu pøekládat do: </td> 63 <td><?php WriteLanguages($Line['Language']); ?></td> 64 </tr> 65 66 67 <tr> 61 68 <th><input type="submit" value="Registrovat"></th> 62 69 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.