Problem with PHP + WML + Post method

From: Date: Fri, 04 Jun 2004 03:46:10 +0000
Subject: Problem with PHP + WML + Post method
Groups: php.general 
Request: Send a blank email to php-general+get-187591@lists.php.net to get a copy of this message
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?

« previous php.general (#187591) next »