Security login and password forwarding

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
deo
Forum Newbie
Posts: 1
Joined: Tue Apr 12, 2005 2:49 am

Security login and password forwarding

Post by deo »

Hello Everyone,

I am a newbie (it shows) to php, and need help to set up a security login interface for a website that I am creating. It needs to be able to send an e-mail to the respondant giving the user his login and password (hopefully randomly generated password).

Anyone got any ideas????

Much appreciated.

Deo
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Use mail function to mail the user or use phpMailer
For generating random passwords, either generate your own method to randomly select some characters and then put it as a string or use shuffle and then implode it to return the string
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

and your going to want to store all of the information into a mysql database. there are many ways to do what you want, search google for some tutorials.
Post Reply