View file reg/reg/forgot.php

File size: 1.02Kb
<?php
//=====заголовок каждой страницы и конвертация русского в unicode=====
header("Content-type:text/vnd.wap.wml");
echo "<?xml version=\"1.0\" ?>\n";?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
   <wml>
<head>
<meta forua="true" http-equiv="Cache-Control" content="must-revalidate"/>
<meta forua="true" http-equiv="Cache-Control" content="no-cache"/>
<meta forua="true" http-equiv="Cache-Control" content="no-store"/>
</head>
  <card id="start" title="forgot">
<?


$mail == "$udata[2]";



$xfile = @file("users.txt");
for ($i=count($xfile)-15;$i<count($xfile);$i++) {
 $udata = explode("::",$xfile[$i]);
 
}

  
         
         if ($login == "") {  print"<p>Vvedite login</p>";}
         if ($login == "$udata[0]")

{ print "<p><b>Prover'te pochtu</b>";


$info = "Message: vash parol' : $udata[1]\n\n";
$from ="[email protected]";
$komu ="$mail";

@mail("$komu", "Password (C100FuN)", $info, "From:$from");

}
  
?>
</card>
</wml>