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

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

產(chǎn)生一個(gè)密碼,并記錄到數(shù)據(jù)庫(kù),然后發(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
%>





主站蜘蛛池模板: 欧美一级爱爱 | 日本不良网站 | 全部免费特黄特色大片视频 | 亚洲一色 | 日本精品视频在线 | 欧美亚洲高清 | 亚洲国产精品欧美综合 | 日韩一| 又大又硬又爽免费视频 | 天天晚上干白天干 | 伊人中文在线 | 欧美性性 | 青青草a国产免费观看 | 青娱乐九色 | 又爽又黄又无遮挡的视频在线观看 | 四虎最新紧急更新地址 | 日本三级香港三级国产三级 | 日韩精品一区二区三区 在线观看 | 日本不卡视频一区二区 | 日本人妖在线观看 | 又大又硬又爽又粗又快的视频免费 | 亚色在线观看 | 青娱乐精品 | 青娱娱乐盛宴免费一二区 | 七七七久久久久人综合 | 天天操天天爽天天射 | 日本免费网站在线观看 | 一级在线视频 | 欧美一级免费片 | 一级做性色a爰片久久毛片 一级做受视频免费是看美女 | 四虎在线永久 | 欧美一级成人一区二区三区 | 四虎成人网| 色色色色网站 | 青娱乐在线免费观看视频 | 欧美一区中文字幕 | 日本精品在线观看 | 中文字幕在线免费观看视频 | 日本激情视频一区二区三区 | 日本欧美国产精品 | 日本高清视频网址 |