Home › Forums › Programming › HELP ! How to Integrate hMail with the Signup Form
Tagged:email accounts creation, mysql, php
- This topic has 1 reply, 2 voices, and was last updated 13 years, 7 months ago by Satish.
- AuthorPosts
- August 22, 2012 at 1:57 pm#1908leezhijiangMember
I am running a Hmail server which is relying on mySQL for storing data . I noticed that accounts are stored in the table called hm_accounts. What is the code to register a new email address on my server by using the signup form.
_____________________________________________________________________________________________
Original signup.phpSignUp";
echo "
SignIn";
}
else
{
echo "Successful";
echo "
SignUp";
echo "
SignIn";
}
?>
My Codes for Signup Form
Desired [email protected](please complete with @chemistry.my:
Desired Password:
Account Id :
The table created by hmail server in my mysql database( in xps form)http://www.mediafire.com/?2cdhgbr80gykfmm
Can someone please analyze all these information and tell me what should I change on “signup.php” and “signupform.php”
Thank You !
September 10, 2012 at 4:09 am#1995SatishKeymasterYou should modify the mysql to
$accountaddress = $_POST[‘accountaddress’];
$accountpassword = $_POST[‘accountpassword’];
INSERT into phplogin(‘accountaddress’, ‘accountpassword’) values($accountaddress,’$accountpassword’)Other fields:
You can auto-increment accountid.
Also implement email verification through this mechanism: https://technotip.com/1672/email-verification-in-php-part-1/
accountlevel has to be set.
and the email account creation set using now() function, and expiration set by admin or is preset for some predetermined period of time. - AuthorPosts
- You must be logged in to reply to this topic.