[RESOLVED] PHP Code - works for some, not others
ok. i have this php page, "forgot_password.php". The user puts in their email, it asked for a secret question then put their answer, creatre a random password sends it to their email.
Now it works fine for me, but for 2 other people who tested it on their computer, it didnt send the email and did not change the password.
whats wrong!!! it is driving us nuts.
Re: PHP Code - works for some, not others
"Tested it on their computer", does that mean they ran it on a local web server, or did they accessed a central web server with browsers from their computer?
Re: PHP Code - works for some, not others
If it was on a central web server and it didn't send them emails and it didn't even update their password, then there's probably something wrong in your code. post some.
Re: PHP Code - works for some, not others
Are you sure it didn't update the password? If it's just an email problem, then it probaby has something to do with how you're sending the email. Some email providers are more strict on the format of incoming email that they will accept. It could be anything from how you're setting up from/reply-to or, if you're using html email or setting up the headers, whether you use \r\n or just \n.
Re: PHP Code - works for some, not others
thanks for your reply hobo. but i already figured itout. Thanks!