cellphone:Nokia3100
soft version:05.30
code:
<?php
header("Content-Type: text/vnd.wap.wml");
echo '<?xml version="1.0"?>';
?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Anchor Tag"><p>
¡¡¡¡¡¡¡¡¡¡¡¡ÃÜÂë:<input type="password" name="xxps" />
¡¡¡¡¡¡¡¡¡¡¡¡<anchor>µÇ½
¡¡¡¡¡¡¡¡¡¡¡¡ <go href="test.php" method="post">
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡<postfield name="xxxps" value="$(xxps)" />
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡</go>
¡¡¡¡¡¡¡¡¡¡¡¡</anchor>
¡¡¡¡¡¡¡¡¡¡¡¡<?
¡¡¡¡¡¡¡¡¡¡¡¡if (MD5($POST['xxxps'])==MD5("123456"))
¡¡¡¡¡¡¡¡¡¡¡¡{
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡setcookie("xxxxps",$POST['xxxps']);
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡$check="yes";
¡¡¡¡¡¡¡¡¡¡¡¡}
¡¡¡¡¡¡¡¡¡¡¡¡?>
¡¡¡¡¡¡¡¡¡¡¡¡</p>
¡¡¡¡¡¡¡¡¡¡¡¡</card>
</wml>
Return on the screen(title is WMLC Error):
///////////////////////////////////////
Failed to complie the wml page!
Url:
http://yubeinet.com/mobile/test/test.php
Message:The element type "br" must be terminated by the matching end-tag "</br>".
Class:class com.siemens.icm.msp.wapwspstack.converters.wbxml.WBXMLException
Message:The element type "br" must be terminated by the matching end-tag "</br>".
line:14
column:5
Class org.xml.sax.SAXParseException
//////////////////////////////////////
this error just occur when I use the setcookie() PHP function in the page......
Is there anyone have this problem??