Changeset 34 for quests/Registrace.php
- Timestamp:
- Aug 19, 2007, 12:08:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/Registrace.php
r5 r34 1 1 <?php 2 3 include('Global.php'); 4 2 5 include 'TestLicence.php'; 3 6 … … 8 11 9 12 if ($Pass == $Pass2) { 10 include 'DatabaseConection.php';11 $Database = new Database('localhost','root','gurubashi'); // dodìlat IP12 $Database->SelectDatabase('quests');13 13 14 14 $Line = mysql_fetch_row($Database->SQLCommand("SELECT * FROM user WHERE user = '$User'")); … … 16 16 $Addres = $_SERVER['REMOTE_ADDR']; 17 17 $Database->SQLCommand("INSERT INTO user VALUES('$User','$Pass','0','$Addres',now(),'0','$Email')"); 18 echo 'Registrace probìhla úspì nì<br />18 echo 'Registrace probìhla úspìnì<br /> 19 19 Pøihlásit se mùete <A href="index.php">Zde</a>'; 20 20 // echo $Database->id_connection;
Note:
See TracChangeset
for help on using the changeset viewer.