iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

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
Reply With Quote
  #2 (permalink)  
Old 06-21-2004, 10:56 PM
WebProWorld Member
 
Join Date: Apr 2004
Location: Florida
Posts: 97
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: 447
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: 77
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: 174
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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:53 AM.



Search Engine Optimization by vBSEO 3.3.0