Advertisement
Golden_Rus

Untitled

Jun 29th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     function Forgor()
  2.     {
  3.     var mail;
  4.     if(mail = prompt('Введите e-mail для восстановления пароля:', '[email protected]'))
  5.     {
  6.     if(mail == "" or mail == "[email protected]")
  7.     {
  8.     alert('Вы не ввели e-mail!');
  9.     }
  10.     else
  11.     {
  12.     post('process.php', 'PHPfunc=forgot&email'+mail);
  13.     alert('Пароль был отправлен на указанный вами e-mail!');
  14.     }
  15.     }
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement