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

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

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


The New Pass word has been Mailed.
******************************

Regards
Vedachalam Manikantan



主站蜘蛛池模板: 日韩三级小视频 | 四虎8848精品永久在线观看 | 日本视频高清 | 中文字幕自拍 | 欧美一区二区aa大片 | 最新精品女神在线观看 | 青青青免费高清视频在线 | 婷婷色在线播放 | 日本国产视频 | 日本免费人做人一区在线观看 | 色噜噜在线视频 | 欧美伊人久久大香线蕉在观 | 青春草在线观看播放免费视频 | 日本一区不卡在线观看 | 四虎免费在线观看 | 日韩第二页 | 日本高清视频免费观看 | 亚洲午夜在线观看 | 日本成人免费网站 | 日本特黄a级高清免费酷网 日本特黄aaaaaaa大片 | 日日摸夜夜添夜夜添影院视频 | 日本在线观看 | 色婷丁香 | 午夜小视频免费 | 最近2019中文字幕大全第二页 | 特黄视频| 色天使色婷婷丁香久久综合 | 亚洲色啦啦狠狠网站 | 一级毛片网 | 一二三四免费高清观看在线观看 | 小说区图片区综合久久亚洲 | 屁屁影院在线播放 | 日本美女高清在线观看免费 | 最新国产福利片在线观看 | 青草园网站在线观看 | 亚洲欧洲日本在线观看 | 婷婷六月久久综合丁香乐透 | 齐天大性床战铁扇公主 | 欧美在线观看一区二区三区 | 欧美综合久久 | 婷婷春色 |