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

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

產(chǎn)生一個密碼記錄并發(fā)送給用戶

[摘要]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
%>



主站蜘蛛池模板: 伊人蕉久中文字幕无码专区 | 亚洲免费网站观看视频 | 日本中文在线观看 | 日韩日韩日韩手机看片自拍 | 日韩v在线 | 日韩伦理网站 | 日韩新片在线观看 | 日本韩国三级在线观看 | 亚洲午夜久久久久久91 | 亚洲最大看欧美片网站 | 色天天天综合色天天碰 | 人人揉揉香蕉大免费不卡 | 亚洲欧美人妖另类激情综合区 | 中文字幕日韩一区二区不卡 | 天天夜干 | 亚洲欧美日韩国产精品影院 | 色操网| 日韩欧美黄色 | 亚洲日本在线免费观看 | 欧美午夜在线观看 | 日韩在线天堂免费观看 | 五月婷婷六月天 | 亚洲精品有码在线观看 | 日韩黄色在线观看 | 四虎影院免费在线 | 欧美在线一级视频 | 青草视频免费观看在线观看 | 一区二区视频在线播放 | 亚洲黄网在线 | 亚洲欧美日韩一区高清中文字幕 | 性高湖久久久久久久久aaaaa | 色图自拍偷拍 | 一二三四免费观看在线8 | 日韩国产成人精品视频 | 性xxxxx免费视频播放 | 日本a视频 | 欧美一级高清片欧美国产欧美 | 天堂在线视频 | 日本三区四区免费高清不卡 | 天天草天天射 | 日韩美一区二区 |