- Timestamp:
- Sep 11, 2003, 10:22:35 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/identification.php
r57 r87 25 25 { 26 26 // retrieving the encrypted password of the login submitted 27 $query = ' selectpassword';28 $query.= ' from'.PREFIX_TABLE.'users';29 $query.= " whereusername = '".$_POST['login']."';";27 $query = 'SELECT password'; 28 $query.= ' FROM '.PREFIX_TABLE.'users'; 29 $query.= " WHERE username = '".$_POST['login']."';"; 30 30 $row = mysql_fetch_array( mysql_query( $query ) ); 31 31 if( $row['password'] == md5( $_POST['pass'] ) ) … … 62 62 initialize_template(); 63 63 //-------------------------------------------------------------- errors display 64 if ( sizeof( $error ) != 0 )64 if ( sizeof( $errors ) != 0 ) 65 65 { 66 66 $vtp->addSession( $handle, 'errors' );
Note: See TracChangeset
for help on using the changeset viewer.