need some help pleae..

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
kperrone
Forum Newbie
Posts: 1
Joined: Mon Aug 09, 2004 9:32 pm

need some help pleae..

Post by kperrone »

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...
User avatar
andre_c
Forum Contributor
Posts: 412
Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah

Post by andre_c »

please post the entire script.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

look for a reply to your pm kperrone..
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Re: need some help pleae..

Post by hawleyjr »

kperrone wrote: make an email be sent to me when they login which contains their username and password...i tried
That is a scary idea...
User avatar
buddok
Forum Commoner
Posts: 50
Joined: Tue May 25, 2004 2:44 pm

Post by buddok »

ahahaha i agree with u there (hawleyjr) lol rofl :P
Post Reply