CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Change Password Form

Print topic Send  topic

Author Message
datadoit.com
Posted: 04/13/2004, 1:17 PM

CCS2; PHP4; MySQL

I was surprised that I couldn't find an example for this. Any sample out
there or tips for creating a simple password change form?

Old Password:
New Password:
Confirm New Password:

[Submit]

I started off on this, but lost in myself on the validations, when or what
to write, etc. Thanks.

-MikeR



Tam
Posted: 07/06/2004, 12:00 PM

I solved this problem in ASP before, so I hope it will help you a bit.

I created a textbox named password_confirmed, on its On Validate events, I put

If member.password_confirmed.Value <> "" Then
If member.password_confirmed.Value <> member.password.Value Then _
member.password_confirmed.Errors.addError("Password Confirmed is not same as Password.")
End If

You convert the syntax to PHP and try it. If it works, let me know. Thanks.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.