How can I do Password Recovery?
#4

Quote:
Originally Posted by tal_peretz
Посмотреть сообщение
You write your email in the SA-MP and it will return your password to your own email [in the website of the email]

I hope you understand me now
I don't think it's possible to do that, but yes you can do one thing which will surely work. You can make that happen through PHP website. You can use the php functions such as:-

PHP код:
mail(to,subject,message,headers,parameters
The PHP mail() function is used to send emails from inside a PHP script.

(Original link: http://php.net/manual/en/function.mail.php)

A quick example of php mails:-

PHP код:
<html>
<body>
<?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
  
{
  
//send email
  
$email $_REQUEST['email'] ;
  
$subject $_REQUEST['subject'] ;
  
$message $_REQUEST['message'] ;
  
mail("someone@example.com""$subject",
  
$message"From:" $email);
  echo 
"Thank you for using our mail form";
  }
else
//if "email" is not filled out, display the form
  
{
  echo 
"<form method='post' action='mailform.php'>
  Email: <input name='email' type='text' /><br />
  Subject: <input name='subject' type='text' /><br />
  Message:<br />
  <textarea name='message' rows='15' cols='40'>
  </textarea><br />
  <input type='submit' />
  </form>"
;
  }
?>

</body>
</html>
You can use such ways and create a very good Password Recovery script through PHP.

-FalconX
Reply


Messages In This Thread
How can I do Password Recovery? - by tal_peretz - 27.02.2012, 01:11
Re: How can I do Password Recovery? - by FalconX - 27.02.2012, 01:17
Re: How can I do Password Recovery? - by tal_peretz - 27.02.2012, 01:24
Re: How can I do Password Recovery? - by FalconX - 27.02.2012, 01:39
Re: How can I do Password Recovery? - by tal_peretz - 27.02.2012, 01:57
Re: How can I do Password Recovery? - by FalconX - 27.02.2012, 02:02
Re: How can I do Password Recovery? - by JamesC - 27.02.2012, 04:11
Re: How can I do Password Recovery? - by FalconX - 27.02.2012, 04:21
Re: How can I do Password Recovery? - by tal_peretz - 27.02.2012, 10:53
Re: How can I do Password Recovery? - by Amit_B - 27.02.2012, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)