Copy code The code is as follows: HelloWorld title> <br> Ext.onReady(function(){<br> var requestConfig = { <br> url:'loginServer.php', //Requested server address<br> params:{userName:'lowkey', password:'zq19890319'}, //Request parameters<br> method: "post",<br> callback:function(options, success, response) {<br> var msg=["Whether the request was successful:", success, "n",<br> "Server return value:", response.responseText];<br> Ext.Msg.alert("prompt", response.responseText);<br> /script><br> </head><br><br> <body><br> </body><br></html><br><br><br><br><br><br>Copy code</div> <br> The code is as follows:<div class="codetitle"><span style="CURSOR: pointer" onclick="doCopy('code32663')"><u><?php</U> $userName = $_POST["userName"];</span> $password = $ _POST["password"];</div> $msg = "";<div class="codebody" id="code32663"> if($userName=="lowkey" && $password=="zq19890319") {<BR> $msg = "Login successful";<BR> } else {<BR> $msg = "Login failed";<BR> }<BR> echo($msg);<BR>?><br><br><br> <br> <br><br></u></span></div>http://www.bkjia.com/PHPjc/327849.html<br>www.bkjia.com<p align="left"></p> <div style="display:none;">true<span id="url" itemprop="url"></span>http: //www.bkjia.com/PHPjc/327849.html<span id="indexUrl" itemprop="indexUrl"></span>TechArticle<span id="isOriginal" itemprop="isOriginal"></span>Copy the code as follows: html head titleHelloWorld/title meta http-equiv="Content-Type" content="text /html; charset=utf-8" link rel="stylesheet" type="text/css" href="../../ext-4...<span id="isBasedOnUrl" itemprop="isBasedOnUrl"></span><span id="genre" itemprop="genre"></span> <span id="description" itemprop="description"></span> </div>