[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Set password - PHP

Posted on 2013-10-23
4
Medium Priority
?
473 Views
Last Modified: 2013-12-03
Hi,
We have the information of our clients in mysql database, username, password and email.

Need a php code (preferably) to email client and let them choose the password , and save it to database.

We also need for forgotten password, so email them the link , and they can change the password.

Any suggestion or idea is appreciated.
0
Comment
Question by:fparvini
  • 3
4 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39593774
I can't write a script for you over a 150 point question, but I can point you to good learning resources for anyone who is new to PHP.  Any of the books or tutorials in this article will show you exactly how this is done.  Best of luck with you r project, ~Ray

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_11769-And-by-the-way-I-am-new-to-PHP.html
0
 
LVL 11

Expert Comment

by:Murfur
ID: 39594489
There are too many possibilities to give you a definitive answer as you have not provided any info about what configuration this will drop into.

A quick google reveals several off the shelf components that you can integrate, some free some not:

http://usercake.com

http://userpie.com

http://www.nadlabs.co.uk/userbase_user_management_features.php

http://codecanyon.net/item/php-login-user-management/49008?ref=jigowatt

http://codecanyon.net/item/solid-php-user-management-system-/1254295
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 450 total points
ID: 39594533
See also... The article here:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html

Unfortunately that example is old and uses MySQL.  PHP is doing away with the MySQL extension and any code that uses MySQL will have to change. This article explains why PHP is doing that and what you must do to keep your scripts running.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Databases/A_11177-PHP-MySQL-Deprecated-as-of-PHP-5-5-0.html

Best of luck with your project, ~Ray
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39692204
Here are the Experts Exchange Grading Guidelines:
http://support.experts-exchange.com/customer/portal/articles/481419

Please explain the bad grade.  Thanks, ~Ray
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month20 days, 11 hours left to enroll

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question