View Single Post
  #9  
Old 03-19-2008, 11:32 AM
Sabyre's Avatar
Sabyre
Sarnak
 
Join Date: Jun 2003
Location: Maine, USA
Posts: 88
Default

Ok, I had to change Aerewen's script that creates accounts and updates IP address' for Minilogin from:

Code:
$sql = "INSERT INTO `account` VALUES (". $newno. ",'". $_POST['username']. "','',0,'". $_POST['password']. "',". $admin_level. ",". $newno. ",0,0,'". $_SERVER['REMOTE_ADDR']. "',0,0)";
To:

Code:
$sql = "INSERT INTO `account` VALUES (". $newno. ",'". $_POST['username']. "','',0,'". $_POST['password']. "',". $admin_level. ",". $newno.",0,0,0,0,'". $_SERVER['REMOTE_ADDR']. "')";
Simply to reflect my account table structure.

Thanks
__________________
.......
...
.
"We are the music makers and we are the dreamers of the dreams" - Willy Wonka
Reply With Quote