Просмотр файла mobilechat_v1.04/kirj.php

Размер файла: 852B
<?php
header("Content-type: text/vnd.wap.wml");
header("display_errors=0");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"
\"http://www.wapforum.org/DTD/wml_1.1.xml\">";
$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 "<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 "</p>";
echo "</card>";
echo "</wml>";
?>