hey,
don't you need a page thats after that and will check the info, if you have it will help use see what your problem with the $_POST[] is.





From: "Shelby" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP]  Problem with PHP + WML + Post method
Date: Fri, 4 Jun 2004 11:46:10 +0800

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


_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.click-url.com/go/onm00200362ave/direct/01/


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



Reply via email to