Hi,
I'm having problem with the "Post" method in my PHP + WML file.
Note that I have No problem with the "Get" method.

When I click "Login",
The Error:
Malformed server response


I'm using Win2k + PHP436 for testing.
And I have set the MIME type in the IIS:
.wml
application/x-httpd-php


=============
index.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\";>";
?>
<wml>
<card id="card1" title="Home">
<p>
User ID: <input name="myuserid" size="15" value=""/><br/>
Password: <input type="password" name="mypwd" size="15" value=""/><br/>
<do type="accept" name="next" label="Login">
<go href="index.php" method="post">
<postfield name="myuserid2" value="$myuserid"/>
</go>
</do>
</p>
</card>
</wml>




Is there anything I miss out?
By the way, when I test with Win2003 server + PHP436, there is no problem.
Does the problem lie with the Win2k server?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to