Solved

Set password - PHP

Posted on 2013-10-23
4
452 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 108

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 108

Accepted Solution

by:
Ray Paseur earned 150 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 108

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now