Re: Problem with PHP + WML + Post method

From: Date: Fri, 04 Jun 2004 05:19:58 +0000
Subject: Re: Problem with PHP + WML + Post method
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187593@lists.php.net to get a copy of this message
Hi, the href property is going back to index.php. It is going back to itself. "Tyler Replogle" <dbnm@hotmail.com> wrote in message news:BAY15-F42VudG1FgMOk00051dda@hotmail.com... > 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" <shelby@itsupport.com.sg> > >To: php-general@lists.php.net > >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/

« previous php.general (#187593) next »