Jump to content

Resend Password


DeathStar

Recommended Posts

[color=red]I wrote most of the code for anresend password script
but can someon pls tell me were to get one or finish this one??[/color]

[code]<?php

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 '<p><font color="red" size="+1">You forget to enter your email address!</font></p>';
  } else {
 
      // Check existence of that email address.
  $query = "SELECT $userid FROM users WHERE email='".  escape_data($_POST['email']) . "'";
  $result = mysql_query[/code]
Link to comment
https://forums.phpfreaks.com/topic/30907-resend-password/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.