about summary refs log tree commit diff stats
path: root/central/trunk/includes/instadisc.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-28 22:53:48 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-28 22:53:48 +0000
commit6f881a9f11d80e2bc27ec5ade72ac55eaef495c6 (patch)
tree735a8f7c59ffb5d0c8f442a80c3bd9d5e92689b1 /central/trunk/includes/instadisc.php
parent9c696344683332400000e40c2c54dc98e98d947b (diff)
downloadinstadisc-6f881a9f11d80e2bc27ec5ade72ac55eaef495c6.tar.gz
instadisc-6f881a9f11d80e2bc27ec5ade72ac55eaef495c6.tar.bz2
instadisc-6f881a9f11d80e2bc27ec5ade72ac55eaef495c6.zip
Central: Added createUser()
Refs #63
Diffstat (limited to 'central/trunk/includes/instadisc.php')
-rw-r--r--central/trunk/includes/instadisc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 320ff80..99d06b1 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php
@@ -98,9 +98,9 @@ function instaDisc_addItem($username, $subscription, $title, $author, $url, $sem
98 } 98 }
99} 99}
100 100
101function instaDisc_createUser($username, $password, $email) 101function instaDisc_createUser($username, $password)
102{ 102{
103 $insuser = "INSERT INTO users (username, password, email) VALUES (\"" . mysql_real_escape_string($username) . "\", \"" . mysql_real_escape_string($password) . "\", \"" . mysql_real_escape_string($email) . "\")"; 103 $insuser = "INSERT INTO users (username, password) VALUES (\"" . mysql_real_escape_string($username) . "\", \"" . mysql_real_escape_string($password) . "\")";
104 $insuser2 = mysql_query($insuser); 104 $insuser2 = mysql_query($insuser);
105} 105}
106 106