Jump to content

forgot password.php help


Recommended Posts

Re: forgot password.php help

here is the code



require_once ('./includes/config.inc.php');

$page_title = 'Forget Your Password';

include ('header.php');

if (isset($_POST['submitted'])) { // Handle the form.

  require_once ('mysql.php'); // Connect to the Database.

  if (empty($POST['email'])) { // Validate the email address.

     $uid = FALSE;

  echo '

<font color="red" size="+1">You forget to enter your email address!</font></p>';

  } else {

      // Check for the existence of that email address.

   $query = "SELECT $userid FROM users WHERE email='".  escape_data($_POST['email']) . "'";

   $result = mysql_query
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...