Re: Lostpassword script Error
| From: | techzeus at pacific dot net dot sg | Date: | Thu, 22 Mar 2001 11:36:05 +0000 |
| Subject: | Re: Lostpassword script Error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45098@lists.php.net to get a copy of this message | ||
Nobody can help?
----- Original Message -----
From: <techzeus@pacific.net.sg>
To: "'PHP General List. (E-mail)'" <php-general@lists.php.net>
Sent: Wednesday, March 21, 2001 8:29 PM
Subject: [PHP] Lostpassword script Error
Hi there, I need some help here.
I have uploaded all the files necessary into my server. grab it at
www.frozened.com/zeus/lostpassword.zip
This is a lostpassword script whereby when the user inputs his email
address, the script will check if his email is a valid email (
test@test.com ) after which it will use the database to search for the email
and if there his email is in the db, it will send him a mail telling him so.
In this script I haven't add the mail() but replaced it with a echo() so
that I know that the form has been processed.
When I run the script and input a 'non-valid' email address ( no @ sign ),
the errormsg will appear as normal but when I type a valid email or a email
that is in the database, the form will just clear it self and reappear.
Mind if someone help me debug (I'm new to PHP).
Thanks :)
------------------------
Zeus
------------------------