Jump to content

Confirm_user


Ashoar

Recommended Posts

Here it is :)

 

if (confirm_user($_SESSION['username'],$_SESSION['password']) ) {
$online = "DELETE FROM online WHERE username = '".mysql_real_escape_string($_SESSION['username'])."';";
mysql_query($online);
$online = "INSERT INTO online ( username, time ) VALUES ( '".mysql_real_escape_string($_SESSION['username'])."', '".time()."' );";
mysql_query($online);
mysql_close($database_connection);
}

Link to comment
https://forums.phpfreaks.com/topic/153153-confirm_user/#findComment-804481
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.