View file mobilechat_v1.04/sisaan.php

File size: 857B
<?php
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">";
echo "<wml>\n";
echo "<card title=\"Login\">\n";
echo "<p>\n";
echo "Nick:\n";
echo "<input name=\"nimi\" type=\"text\" format=\"*x\" maxlength=\"12\" emptyok=\"true\"/><br/>\n";
echo "Password:\n";
echo "<input name=\"salasana\" type=\"password\" format=\"*x\" maxlength=\"8\" emptyok=\"true\"/><br/>\n";
echo "<anchor>Login\n";
echo "<go method=\"post\" href=\"login.php\">\n";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>\n";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>\n";
echo "</go>\n";
echo "</anchor><br/>\n";
echo "<a href=\"home.php\">Home</a>\n";
echo "<br/>\n";
echo "</p>\n";
echo "</card>\n";
echo "</wml>\n";
?>