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-08-15 18:39:18 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-15 18:39:18 +0000
commit9aec4d669f8d9efb74372e3755131e042c62761f (patch)
tree8fd2491e1efb923392e3b8a39ce045d83f94bd9a /central/trunk/includes/instadisc.php
parent4c9677691d59bd6d743bd544b6be38084e095a22 (diff)
downloadinstadisc-9aec4d669f8d9efb74372e3755131e042c62761f.tar.gz
instadisc-9aec4d669f8d9efb74372e3755131e042c62761f.tar.bz2
instadisc-9aec4d669f8d9efb74372e3755131e042c62761f.zip
Central: Add change password
Refs #25 and closes #35
Diffstat (limited to 'central/trunk/includes/instadisc.php')
-rw-r--r--central/trunk/includes/instadisc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 96f4940..95aeb88 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php
@@ -397,4 +397,10 @@ function instaDisc_cancelSubscription($username, $url)
397 return false; 397 return false;
398} 398}
399 399
400function instaDisc_changePassword($username, $password)
401{
402 $setpass = "UPDATE users WHERE username = \"" . mysql_real_escape_string($username) . "\" SET password = \"" . mysql_real_escape_string(md5($password)) . "\"";
403 $setpass2 = mysql_query($setpass);
404}
405
400?> 406?>