#! /usr/bin/php4
INSERT INTO alumni(Name, Email, Password) VALUES ('".$_POST['nama']."','".$_POST['emel']."','".$password."')");
$header = "From: \"CMU Budaya\"\nContent-Type: text/html;";
mail($_POST['emel'], 'Budaya Alumni', 'You received this message because you are registered in the Alumni database.
Your randomly generated Budaya Alumni password is "'.$password.'".
Since any authenticated user can update information in the database, please be careful when you edit any data. You can change your password once you login.
Thank you.
Note: You can now upload your photos to the Budaya gallery at http://www.cmubudaya.org/budaya2/gallery/upload.cgi.', $header);
echo 'Success.';
}
?>