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

明輝手游網(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
%>



主站蜘蛛池模板: 最近新的免费韩国视频 | 色黄网站在线观看 | 四虎免费在线观看 | 亚洲入口 | 欧美网站在线观看 | 在线观看 a国v| 亚洲成在人线av | 日韩欧美系列 | 亚洲a在线视频 | 日本久久伊人 | 速度与激情9下载 | 日韩高清中文字幕 | 色综合久久88中文字幕 | 天堂中文在线观看 | 青青草视频在线观看免费 | 天天干天天干天天干天天 | 涩狠狠狠狠色 | 青青青视频精品中文字幕 | 四虎新网站 | 欧美一级免费大片 | 青青草视频免费观看 | 日韩免费高清视频 | 天天视频色 | 一区二区三区视频网站 | 天天干天天干天天干天天干 | 香蕉人人超人人超免费看视频 | 天堂资源站| 日日夜夜天天久久 | 小泽玛利亚久久一区二区三区 | 亚洲日本欧美 | 先锋久久 | 亚洲伊人成人网 | 又粗又硬又大又爽免费观看 | 日韩一区二区三区不卡视频 | 日韩有码在线观看 | 亚洲欧洲一二三区 | 欧美视频精品在线观看 | 亚洲最新在线视频 | 日本欧美国产 | 日本香蕉一区二区在线观看 | 日韩精品无码一区二区三区 |