> //unsure of this code
> Set xmlHTTP = Server.CreateObject("Msxml2.XMLHTTP.4.0")
<cfset xmlHTTP = CreateObject("com", "Msxml2.XMLHTTP.4.0")>
> //unsure of this code
> xmlHTTP.Open "GET", weatherGet, False
> xmlHTTP.Send
<cfset xmlHTTP.Open("GET", weatherGet, "false")>
<cfset xmlHTTP.Send()>
or
<cfscript>
xmlHTTP.Open("GET", weatherGet, "false");
xmlHTTP.Send();
</cfscript>
But why not just use CFHTTP to do this, anyway?
<cfhttp
url=""> zipCode=#Form.zipCode_txt#"
method="get"></cfhttp>
<cfoutput>#CFHTTP.FileContent#</cfoutput>
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

