六月婷婷综合激情-六月婷婷综合-六月婷婷在线观看-六月婷婷在线-亚洲黄色在线网站-亚洲黄色在线观看网站

明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

產生一個密碼,并記錄到數據庫,然后發送給用戶

[摘要]This article Generates a password random, Requires a database and Mails the Password.<%@language="vbscript" %>***********************...

This article Generates a password random, Requires a database and Mails the Password.

<%@language="vbscript" %>

******************************
<%
'code by Manikantan
'Web Developer
'3rd Agenda
'Nungambakkam, Chennai India
%>

<%


set mail= server.CreateObject("cdonts.newmail")
mail.subject="Thank You for Registering"
mail.to = mailid mail.from ="Webmaster@thesite"
mail.body= "This is the Initial Password to our site...." & vbcrlf
&href='mailto:mailid="[email protected]'>mailid="[email protected]"
address="address"

'other data like phone number as per the member database in the site
'all these values are obtained from the request method from a .htm which submits to this file
'Mainly employed in registration
'Assumes You have cdonts.dll installed in the web server.

set conn = server.CreateObject("adodb.connection")
conn.Open "dsn","uid","pwd"
set rec= conn.Execute("select count(*) from membertable")
id = cint(rec.fields(0))+1
r=rnd *50
Response.Write r & "<br>"
for i = 0 to 20
if cint(r)>0 and cint(r)<26 then str=str +chr(97 + cint(r))
r=rnd *100
next

Response.Write str
pwd=left(str,2)
pwd=pwd & id
pwd=pwd & right(str,2)
pwd=pwd & second(time)

'An Update Query can be Passed from here for the username ,password and other details or can be triggered
from another page 'when the user responds to the mail...Something like sending a url as a mail and on
click of the url in the mail..call another page 'which updates ..so we can be sure that only confirmed
users are updated

%>
<br>
<%
set mail= server.CreateObject("cdonts.newmail")
mail.subject="Thank You for Registering"
mail.to = mailid
mail.from ="Webmaster@thesite"
mail.body= "This is the Initial Password to our site...." & vbcrlf & "Change it if You Want" & vbcrlf &
pwd & vbcrlf & "Thank You for Using the Site"
mail.send
%>





主站蜘蛛池模板: 伊人影视传媒有限公司 | 天天综合天天综合色在线 | 天啪 | 四虎影院在线免费播放 | 一二三四影视在线看片 | 日韩欧美亚洲乱码中文字幕 | 中日韩一级片 | 偷自视频视频区免费 | 亚洲 欧美 精品 中文第三 | 香蕉人人超人人超免费看视频 | 色精品一区二区三区 | 神马热 | 婷婷六月丁香色婷婷网 | 亚洲 欧美 国产另类首页 | 丝袜美腿美女被狂躁在线观看 | 色一情一乱一伦一视频免费看 | 亚洲 欧美 丝袜 制服 在线 | 亚洲男人天堂网站 | 色偷偷成人 | 欧美一级欧美三级在线观看 | 手机看片日韩欧美 | 日韩视频在线观看中字 | 四月婷婷 | 在线九色| 亚洲日本在线观看网址 | 人人干狠狠干 | 午夜视频入口 | 最新国产福利在线观看 | 青青青国产在线手机免费观看 | 色婷婷啪啪 | 欧美一级特黄刺激大片视频 | 自拍一区在线观看 | 日韩黄色大片 | 亚洲天堂视频一区 | 天天干天天爽天天射 | 日日噜噜夜夜狠狠扒开双腿 | 亚洲 欧美 国产 日韩 制服 bt | 日本免费高清视频二区 | 日韩天堂网| 日本一区免费观看 | 天天干天天爱天天射 |