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

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





主站蜘蛛池模板: 天天透天天狠 | 中文字幕 国产精品 | 亚洲福利三区 | 天堂网欧美 | 五月婷婷综合激情网 | 日韩永久在线观看免费视频 | 最近韩国日本免费 | 日韩欧美一卡二区 | 欧洲一级毛片 | 日韩看片 | 色噜噜噜噜噜在线观看网站 | 午夜男人的天堂 | 日本高清在线播放一区二区三区 | 亚洲天堂在线视频观看 | 色吧在线视频 | 青青操久久 | 欧美午夜在线视频 | 亚洲人成在线播放 | 色橹橹高清视频在线播放 | 视频二区 调教中字 知名国产 | 欧美一级淫片aaaaaaa视频 | 最新精品女神在线观看 | 婷婷在线免费视频 | 天天澡天天碰天天狠伊人五月 | 最新韩国理论片30页 | 日本视频在线观看免费 | 日韩中文精品亚洲第三区 | 日本免费在线观看视频 | 亚洲乱码一二三四五六区 | 一二三四日本高清观看视频 | 欧美亚洲国产精品第一页 | 日韩成人毛片高清视频免费看 | 天天干天天碰 | 日韩乱视频 | 亚欧洲精品在线视频免费观看 | 日韩免费毛片全部不收费 | 日本五级床片全部硬硬 | 欧美一级黄色片在线观看 | 星辰影院免费 | 青草99| 欧美综合亚洲 |