need some help pleae..
Posted: Mon Aug 09, 2004 9:32 pm
i have a script i am working on. the person puts in their username and password and it logs them into my member area. what i am trying to do is make an email be sent to me when they login which contains their username and password...i tried
mail("my@email.com","Login Info","
username: $username
password: $password
");
I put that in the login.php. when i tested it, it sent the email but the message contained was:
username:
password:
it did not send me the actual user and pass. the form i am using is a simple html form which has the input fields that are named username and password. so i have no idea why this isnt working...
mail("my@email.com","Login Info","
username: $username
password: $password
");
I put that in the login.php. when i tested it, it sent the email but the message contained was:
username:
password:
it did not send me the actual user and pass. the form i am using is a simple html form which has the input fields that are named username and password. so i have no idea why this isnt working...