Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2004, 08:48 PM
WebProWorld New Member
 

Join Date: Jun 2004
Posts: 2
dchuke RepRank 0
Default Need confirm password help

I am trying to develop a confirm password setup on my site for newly registering memebers. I have had a few mistakes interms on password entering and I need to find out if anyone can help mewith the code for this in PHP thru dreamweaver MX 2004 or just directly into the code.

The saint
__________________
ShakaZulu!!!
Reply With Quote
  #2 (permalink)  
Old 06-21-2004, 10:56 PM
WebProWorld Member
 

Join Date: Apr 2004
Location: Florida
Posts: 99
ECommerceConversions RepRank 0
Default

In ASP.NET, you can use FieldValidators. PHP has gotta have a similar version of that which will make simple java code?
__________________
Joe

<a href="http://www.ecommerceconversions.com">
Custom Web Design and E-Commerce Solutions - ECommerceConversions</a>

Ozone Generators where you can buy an ozone generator or ozone machine
Reply With Quote
  #3 (permalink)  
Old 06-22-2004, 02:13 AM
WebProWorld Veteran
 

Join Date: Apr 2004
Posts: 453
HardCoded RepRank 0
Default

Totally lost as to how Dreamweaver could possibly help you with this.

Basically you want them to register with an email address and then you send them a generated password by email, whereupon they can get in and change the password (etc). Correct?
Reply With Quote
  #4 (permalink)  
Old 06-22-2004, 04:11 AM
WebProWorld Member
 

Join Date: May 2004
Location: UK
Posts: 83
M0rtym0use RepRank 0
Default

dchuke,
if you stick to this psuedo code you cannot really go wrong

if password box one = password box 2
return valid
else
return error


MM
__________________
M0rtyM0use

Simply Rugby
Reply With Quote
  #5 (permalink)  
Old 06-22-2004, 10:47 AM
WebProWorld Pro
 

Join Date: Jul 2003
Location: New Jersey, U.S.
Posts: 293
jdiben RepRank 0
Default

For php you could use the strcmp function.
Code:
if(strcmp($password,$passwordconfirm)==0){
  echo "test passed";
}else{
  echo "test failed";
}
Joe
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , ,



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0