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

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

產(chǎn)生一個密碼,并記錄到數(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



主站蜘蛛池模板: 色网站在线 | 中文字幕在线观看免费视频 | 视频在线观看40分钟免费 | 亚洲性大片 | 在线视频韩国 | 日日夜夜综合网 | 自拍偷拍欧美亚洲 | 情侣视频精品免费的国产 | 天天色天天射天天干 | 日韩一区二区在线观看 | 午夜视频在线观看一区 | 日本夜夜操 | 欧美亚洲另类综合 | 性刺激免费视频观看在线观看 | 四虎国产精品免费久久影院 | 日韩城人网| 人人干日日干 | 伊人久久大香线蕉综合影 | 日韩国产中文字幕 | 伊人蕉久中文字幕无码专区 | 青青青视频在线播放 | 欧美在线视频观看 | 天天综合网久久 | 日本黄视频在线观看 | 亚洲手机在线手机观看高清hd | 一二三四免费观看高清观看在线 | 欧美视频在线不卡 | 夜夜偷天天爽夜夜爱 | 天天干在线播放 | 欧美一级特黄刺激大片视频 | 色综合天天综一个色天天综合网 | 色网站免费 | 亚洲mv日韩mv欧美mv | 偷拍免费视频 | 日日插插| 日韩欧美中文字幕在线视频 | 亚洲免费网站观看视频 | 婷婷在线影院 | 亚洲免费看片 | 亚洲性视频网站 | 婷婷六月久久综合丁香一二 |