X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Frequestid.php;h=3d293ddd074fb99d391b15762068709969cfe2e4;hp=eedada5323a8cce107171a8630588fd7d459cbe3;hb=687cde2a8c561b68f17609b615eb930ea02f5aac;hpb=d2c982b37f3c4373e99e7c60c19d048de02b5919 diff --git a/web/requestid.php b/web/requestid.php index eedada53..3d293ddd 100644 --- a/web/requestid.php +++ b/web/requestid.php @@ -3,6 +3,7 @@ session_start(); include('logo.html'); include('menulist.html'); include('configuration'); +include('functions.php'); if(isset($_POST['submit'])) { $name = $_REQUEST['name']; @@ -80,7 +81,7 @@ $result = sqlite3_exec($handle, $query) or die("Error in query: ".sqlite3_error( $subject = "Approval of ccan account"; $message = "There is new request for ccan account id.\n\n Please use the following link to approve http://ccan.ozlabs.org/dinesh/approval.php?accountid=".$accountid; -mail($ccan_admin, $subject, $message, "From: $email"); +mail(getccanadmin($db), $subject, $message, "From: $email"); ?>
Thank you for registering with CCAN. You will get the password to your mail after approval.