View file file/pass.php

File size: 477B
<?php

$row=mysql_fetch_array($q);
   $mail=$row['email'];
   $subject="Восстановление пароля на сайте ".$_SERVER["HTTP_HOST"];
   $body="
   Ваш логин: ".$row['log']."
   Пароль: ".$row['psss'];
   $subject = convert_cyr_string($subject, 'w','k');
   $body = convert_cyr_string($body, 'w','k');
   $adds = "From: $email \n";
   $adds .= "X-sender: < $email >\n";
   $adds .= "Content-Type: text/plain; charset=koi8-r\n";
   mail($mail,$subject,$body,$adds);

?>