View file genmat/genmat/index.php

File size: 516B
<?
header("Content-type:text/vnd.wap.wml;charset=utf-8");
print "
<?xml version=\"1.0\" encoding = \"UTF-8\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml><head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>
<card>
<p>
<small>
";
$rand1=rand(0,1038);
$rand2=rand(0,1038);
$mat=@file("susch.txt");
$mat1=@file("pril.txt");
print "$mat[$rand1] $mat1[$rand2] ";
print "
</small>
</p>
</card>
</wml>";
?>