Cold Fusion Development
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Remember me

Go Back   Dev Articles Community ForumsProgrammingCold Fusion Development

Add This Thread To:   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
Unread Dev Articles Community Forums Sponsor:
Old August 16th, 2004, 05:47 AM
pullover pullover is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
Join Date: Aug 2004
Posts: 1 pullover User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how to create "forgot password?"

hi all,

may i know if anyone willing to help me out with creating a "forgot password?" thing that user will get an email reply if the forget their password?

i'm using coldfusion mx with dreamweaver mx.

I have try writing this but have the following error:

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<cfif isdefined("form.Email")>
<cfquery name="Recordset1" datasource="UserInfo">
<cfif Recortset1.RecordCount NEQ 0>
SELECT PasswordColumn, EmailColumn, UsernameColumn FROM tblUserInfo WHERE UsernameColumn = '#Form.UserName#' AND
EmailColumn = '#Form.Email#'
<CFMAIL FROM="" TO="#Form.Email#" SUBJECT="Your Password">
Here is your password: #Recordset1.PasswordColumn#
<cfoutput>Your password has been sent to #Form.Email#</cfoutput>
Sorry, your username does not exist

<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name="form1" method="post" action="">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td><input name="UserName" type="text" id="UserName"></td>
<td><input name="Passwood" type="text" id="Passwood"></td>
<td><input type="submit" name="Submit" value="Submit"></td>

thanks for any helps

Reply With Quote

Viewing: Dev Articles Community ForumsProgrammingCold Fusion Development > how to create "forgot password?"

Developer Shed Advertisers and Affiliates

Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap