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

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



主站蜘蛛池模板: 中文字幕在线观看亚洲日韩 | 综合色在线 | 日本不卡高清免费v日本 | 青娱乐最新地址 | 亚洲欧美一区二区三区二厂 | 亚欧洲精品在线视频免费观看 | 手机在线观看伦理片 | 五月婷婷六月色 | 亚洲日韩中文字幕在线播放 | 欧美一区二区激情三区 | 天天射日| 深爱五月婷婷 | 欧美在线观看高清一二三区 | 亚洲第一页国产 | 亚洲人成网址在线观看 | 色橹 | 涩涩久久| 日韩永久在线观看免费视频 | 日韩中文字幕在线有码视频网 | 手机在线观看伦理片 | 日日射影院 | 日韩18| 日本性网站 | 日韩欧美在线观看一区 | 亚洲日本va中文字幕 | 在线观看精品自拍视频 | 亚洲成人自拍网 | 日韩有码第一页 | 性国产 | 欧美一级淫片aaaaaaa视频 | 天天做爽夜夜做爽 | 日本免费不卡视频一区二区三区 | 日韩黄色一级片 | 天天干天天添 | 欧美熟a | 亚洲丁香婷婷综合久久六月 | 亚洲国产精选 | 丝袜美女爽爆91 | 综合88 | 四虎新网址| 色又色 |