Click to See Complete Forum and Search --> : help with codes


bulletz
12-09-2003, 06:02 AM
hello:
noobie here. im a student and currently learning ASP and other programming languages. i just have a question and hoping that someone can help me.

i just want to know what does this code do?

dim xmlhttp
Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP");
xmlhttp.Open "POST","http://www.domainname.com/interface.jsp?", false

thanks a lot

bulletz
12-09-2003, 06:06 AM
sorry, disregard the first code.
this is the real one.

dim datatosend
dim xmlhttp

datatosend = "some strings here"
Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.Open "POST","http://www.domainname.com/interface.jsp?", false
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.send datatosend

thanks again guys