Размер файла: 1.01Kb
<?php
header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n";
echo "<!-- MobiiliChat v1.1 -->\n";
echo "<!-- Copyright (C) 2004-2005 Keijo Kangas ([email protected]) -->\n";
$salasana=crypt($salasana,'password');
$joo='';
echo "<wml>";
echo "<card title=\"Message\">";
echo "<p>";
echo "<input type=\"text\" name=\"viesti\" value=\"\" emptyok=\"true\" maxlength=\"128\"/>";
echo "<small>\n";
echo "<br/><anchor>[Send/Back]";
echo "<go method=\"post\" href=\"chat.php?time=";
;echo date('ymHis');echo "\">";
echo "<postfield name=\"joo\" value=\"$(joo)\"/>";
echo "<postfield name=\"viesti\" value=\"$(viesti)\"/>";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "</go>";
echo "</anchor>";
echo "</small>\n";
echo "</p>";
echo "</card>";
echo "</wml>";
?>