Please return to the reading mailbox to use the license agreement, you need to agree to the protocol to register center>
center> html> "; exit;} if (! EREG (" ^ [0-9a-z] [0-9a -z] $ ", $ mailname)) # Check if there is an illegal character {echo"
account in the account, please return to re-filled. center>
center> HTML>"; exit;} #________________________________________________________________________________ if (strlen ($ mailname) <3) # AT320 length is less than 3 {echo "
Do not modify form to submit delusional Harm the system, your IP has been recorded! center>
center> HTML>"; exit;} $ mailname = strtolower ($ mailname); # was filtered to fail to convert capital letters $ sql = mysql_connect ($ CFG_MYSQL_HOST whether there lowercase #________________________________________________ AT320 , $ CFG_MYSQL_USER, $ CFG_MYSQL_PASS); mysql_select_db ($ CFG_MYSQL_DB, $ sql); $ query = "select pw_id from vpopmail where pw_domain = '$ domain' and pw_name = '$ mailname'"; $ result = @mysql_query ($ query, $ SQL); $ data = mysql_fetch_Array ($ result); if ($ data) {mysql_close ($ SQL); # 关 数据 数据 e "
This account has been used, please return to select another account and use the detection button to make effective Sexual query.
center>
center> HTML>"; exit;..} #________________________________________________________________________________ begin the registration process $ mailaddr = $ mailname "@" $ domain; # generate a complete mailing address $ query = "select domainsize from userinfo where MSTAT = '$ domain' "; # From this domain management user to remove the default mailbox space size $ Result = @Mysql_Query ($ query, $ sql); $ data = mysql_fetch_Array ($ estill); $ size = $ data ['DomainSize ']; # Get Space Size $ EXECLINEA = $ VPOPMAILBIDIR. "VADDUSER". $ Mailaddr. "". $ Passwd1; # 添 = = $ VPOPMAILBINDIR. "VseTuserquota". $ Mailaddr. ". $ Size # # 更 邮 =;; 语 语 语;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; = "" "# There is an output that the statement performs problems {mysql_close ($ SQL); echo"
In the process of creating an account, unpredictable errors, please register later ... Center>
center > Html> "; $ message =" The statement executed is: "$ execlinea.". $ Execlineb. "The result is:" $ OUTSHOWA. "$ Outshowb; Mail (" root @ 8kb.com "," Register Errors! ", $ Message); # to the Administrator Mailbox Return EXIT;} #______________________________________________ _ If there is no error generation, start further verification and write data $ query =" SELECT PW_ID FROM vpopmail where pw_domain = '$ domain'
In the process of creating an account, an unpredictable error occurs, please register later ... center>
center> html > "; EXIT;} #_____________________________________________ If the user library information is no problem, start writing User information $ userid = $ data ['pw_id']; # 从 用户 用户 取 的号, use this number to write in the database User Information $ TIME = getDate (); if (Strlen ($ TIME [SECONDS]) <2) {$ TIME [Seconds] = "0". $ TIME [SECONDS];} IF (Strlen ($ TIME [MINUTES]) <2) {$ TIME [Minutes] = "0". $ TIME [Minutes];} IF (Strlen ($ TIME [Hours]) <2) {$ TIME [Hours] = "0". $ TIME [HOURS] } IF (Strlen ($ TIME [MON]) <2) {$ TIME [MON] = "0". $ TIME [MON];} IF (Strlen ($ TIME [MDAY]) <2) {$ TIME [ MDAY] = "0". $ TIME [MDAY];} # Generates Current time, accurate to second $ gettime = $ TIME [YEAR]. $ TIME [MON]. $ TIME [MDAY]. $ TIME [Hours]. Time [Minutes]. $ TIME [Seconds]; $ query = "Insert Into UserInfo (ID, MSTAT, Lostanswer, lostquession, username, userage, userphonenum, usersex, useraddr, createtime, domainsize) VALUES ( '$ userID', '3', '$ passanswer', '$ passquess',' $ username ',' $ userage ',' $ phonenum ',' $ UserSex ',' $ getTime ',' $ SIZE '); $ Result = @Mysql_Query ($ query, $ sql); mysql_close ($ SQL); # Turn Database IF ($ Result ) {Echo "
E-mail". "$ Mailaddr." Has been created,
Thank you for using this email system. center>
center> html>"; exit;} else {echo "
In the process of creating an account, an unpredictable error occurs, please register later ....... center >
center> html> "; exit;}}?> New User Registration title>