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

明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

產生一個密碼記錄并發送給用戶

[摘要]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="user@ursite.com’>mailid="user@ursite.com"
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
%>



主站蜘蛛池模板: 桃花久久| 日本在线视频一区 | 色偷偷亚洲 | 日本v片免费一区二区三区 日本vs欧美一区二区三区 | 在线视频h | 日本激情一区二区三区 | 在线欧美a| 亚洲欧美日韩一区成人 | 亚洲人影院| 午夜亚洲一区 | 性刺激欧美三级在线观看 | 伊人久久大香网 | 日韩欧美一区二区不卡看片 | 日韩精品亚洲专区在线影视 | 欧美综合亚洲 | 日日噜噜噜夜夜爽爽狠狠69 | 欧美一区二区三区不卡免费 | 天天晚上开着日 | 五月激情综合丁香色婷婷 | 欧美性专区 | 亚洲性大片 | 日产乱码卡一卡2卡三卡四福利 | 欧美亚洲另类综合 | 香蕉国产综合久久猫咪 | 日韩观看 | 青青草免费在线视频 | 亚洲天堂婷婷 | 羞羞漫画弹窗 | 日本最新免费二区三区 | 亚洲影视大全 | 日本www视频在线观看 | 青草精品 | 日韩欧美无线在码 | 在线天堂新版在线观看 | 色综合久久中文字幕综合网 | 午夜毛片不卡高清免费 | 日本三级精品 | 五月婷婷综合在线 | 日本aⅴ永久免费网站www | 亚洲黄色一区二区 | 色域综合网|