久久精品综合-欧美精品久久久久久-www一区二区-韩国三级中文字幕hd久久精品-国产一区二区三区在线-日韩免费视频

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

產(chǎn)生一個(gè)密碼記錄并發(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="user@ursite.com’>mailid="user@ursite.com"
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
%>



主站蜘蛛池模板: 伊人久久综合影院首页 | 色wwwwww| 日本视频播放免费线上观看 | 亚洲第一综合网 | 亚洲欧美综合色区小说 | 欧美又大又粗又长又美 | 青青久精品观看视频最新 | 中文字幕一精品亚洲无线一区 | 日韩午夜免费 | 片免费观看在线看 | 日韩欧美亚洲综合一区二区 | 青春草在线视频免费观看 | 亚洲欧美日韩精品一区 | 奇米在线影视一区二区三 | 亚欧有色| 特黄特色一级特色大片中文 | 青青青国产色视频在线观看 | 日韩推理片在线免费看网站 | 天天色一色 | 一二三四视频中文字幕在线看 | 色伊人国产高清在线 | 天天爽天天色 | 婷婷色香五月激情综合2020 | 中文字幕在线永久视频 | 五月婷婷免费视频 | 日本天堂网在线观看 | 色噜噜狠狠一区二区 | 天天色综合三 | 欧洲美女高清一级毛片 | 日韩ab| 欧美一级二级三级视频 | 四虎影视www四虎免费 | 天天干天天干天天天天天天爽 | 日日夜夜骑 | 午夜精品久久久久久久四虎 | 先锋资源国产 | 午夜亚洲精品 | 天天爱添天天爱添天天爱添 | 日韩欧美精品在线视频 | 中文字幕一二三四 | 新激情五月 |