xml| Server | data | issues
XMLHTTP Post method to submit data to the server side after the problem of disorderly characters!!!
This example requires two files: xmlencode.htm and xmlencode.asp
======================================
Xmlencode.htm
============
Xmlencode.asp
============
This is a method provided by Mencius E, but do not know how to use, how and the following code added together.
Stra= "submit1=submit&str=" +XMLSTR;
Objhttp.open ("Post", "yzreceive.aspx", false);
Objhttp.setrequestheader ("Content-length", stra.length);
Objhttp.setrequestheader ("Content-type", "Text/xml");
Objhttp.setrequestheader ("Content-type", "application/x-www-form-urlencoded");
Objhttp.send (Stra);
The HTM above him is just an example, you post the contents of a form directly to xmlencode.asp.
Can you elaborate on that?
Let's have a look.
Xmlhttp.setrequestheader ("Content-type", "application/x-www-form-urlencoded")