registration message- PHP

cjlittler

New Member
Messages
9
Reaction score
0
Points
0
upon registration i need a message to say- you are successfully registered, your username is..., your e-mail is ... and your password is ... i want the message to appear on the registration page, but only appear after a successful registration.

can anyone help me out?
 

VPmase

New Member
Messages
914
Reaction score
0
Points
0
Make if if/then/else statement in your PHP code that adds the user to the database/userbank and make it something like this pseudo code

IF REGISTRATION SUCCESSFUL THEN
echo "The success message";
ELSE
echo "Failure.";
END
 

freecrm

New Member
Messages
629
Reaction score
0
Points
0
I have done a lot of work on this recently.

The first registration process page inserts a record, checking username is unique and sends an e-mail to the e-mail address provided giving the following info:

Username (echo username)
Password (echo password)

and a link back to a validation page with an id number in the URL.

This validation page re-checks the password in the database and then simply changes the access level to validated, rather than the default "Unvalidated" value.

This process eliminated spam-bots and ensures that e-mail address are valid.

You can check it out at www.freecrm.x10hosting.com and I can help you through the complex process if you need.
 
Top