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

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



主站蜘蛛池模板: 欧美亚洲国产人成aaa | 日韩一区二区三区视频在线观看 | 色姝姝在线影院 | 狍和美女一级aa毛片 | 日韩精品亚洲人成在线观看 | 青草视频在线免费观看 | 日韩字幕在线 | 色网站在线 | 日韩特黄特色大片免费视频 | 午夜性刺激在线观看视频 | 日本 亚洲 欧美 | 四虎影视免费 | 日本免费观看网站 | 日本一区二区三 | 亚洲欧美伦理 | 亚洲 另类色区 欧美日韩 | 日本高清在线一区二区三区 | 七七久久综合 | 日韩精品视频在线免费观看 | 日韩版码免费福利视频 | 伊人官网 | 欧美一级在线观看视频 | 日本亚洲欧美在线 | 最新国产中文字幕 | 日韩高清不卡在线 | 日本青草 | 中文字幕色网站 | 色天使色婷婷在线影院亚洲 | 性刺激视频在线播放免费 | 色女人综合 | 欧美限制级在线观看 | 青娱乐啪啪 | 亚洲妖精天堂 | 欧美性视频一区二区三区 | 日韩欧美一区二区三区中文精品 | 天天色天 | 青草青草视频2免费观看 | 深夜影院深a久久 | 在线亚洲精品自拍 | 午夜在线观看免费影院 | 青青草亚洲 |