Размер файла: 1.05Kb
<?php
/*
* W@Pchat
* Current Version : 1.2
* Author : Harris Yusuf Arifin (earthweb.biz)
* License : free
* You you can redistribute it and/or modify this script but please always put author's name
*/
session_start();
header("Content-type: text/vnd.wap.wml");
include("headerwml.php");
echo "<wml>";
echo "<card id=\"WAPchat\" title=\"WAPchat\">";
echo "<onevent type=\"onenterforward\">\n";
echo " <refresh>\n";
echo " <setvar name=\"mymess\" value=\"\"/>\n";
echo " </refresh>\n";
echo "</onevent>\n";
echo "<p>";
echo "Message:";
echo "<input name=\"mymess\" type=\"text\"/><br/>";
echo "<do type=\"accept\" label=\"Send\">";
echo "<go method=\"post\" href=\"dispMess.php?PHPSESSID=$sesid\">";
echo "<postfield name=\"mymess\" value=\"$(mymess)\"/>";
echo "<postfield name=\"log\" value=\"next\"/>";
echo "</go>";
echo "</do>";
echo "<do type=\"prev\" label=\"Back\">";
echo "<go href=\"dispMess.php?PHPSESSID=$sesid\"/>";
echo "</do>";
echo "</p>";
echo "</card>";
echo "</wml>";
?>