Although I based it around a Phoenix database, I'm sure you can use it for something else.
If you're using this on a VPS, you will have to set up a mail server. (Use Google)
Please note if it might make your server lag a bit if your traffic is a lot.
If you're going to use this on a hotel, you're going to have to replace
toCode:include('config.php');
And you'll also need to add this to your config file:Code:include('../config.php');
AndCode:$theemail="YourEmail@YourEmail.com";
You don't need to add http://Code:$theurl="something.com";
What does this do?
It sends an email to you telling you that you have requested a password change with a URL. You click that URL and it sends a random password to you and drops the confirmation code from the pass_reset table.
Download: reset.rar
Credits to: SkeetEmUp(Michael), Rusty, DesCode for testing this.
Add what you want to it. I don't mind.
OH, you also need to run this for it to work:
Mirror: Multiupload.com - upload your files to multiple file hosting sites!PHP Code:CREATE TABLE `pass_reset` (
`confirm_code` varchar(65) NOT NULL default '',
`email` varchar(65) NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


Reply With Quote


