Thanks to Whil and Brian.  I'll let you know how it's going.

-Kevin
CULLY Technologies, LLC


Brian Erickson wrote:
> PROCEDURE cls_msxml
> LPARAMETERS lcURL, lcXMLDOC, llUpper, lcPactrcno as String, lcType as String
> 
> IF PARAMETERS() = 0 OR EMPTY(lcURL) OR EMPTY(lcXMLDoc) OR ISNULL(lcURL) 
> OR ISNULL(lcXMLDoc)
>     RETURN ''
> ENDIF
> 
> LOCAL loxml,lchost
> 
> lchost = SUBSTR(lcurl,ATC('//',lcurl)+2)
> TRY
>     loXML =  CreateObject("MSXML2.ServerXMLHTTP")
>     CATCH TO loErrMsxml1
>         TRY
>             loXML =  CreateObject("MSXML2.ServerXMLHTTP")
>             CATCH TO loErrMsxml2
>                 RETURN ''
>         ENDTRY
> ENDTRY
> 
> loxml.Open("POST",lcURL,"false")
> loxml.setRequestHeader("Referer","Company Name")
> loxml.setRequestHeader("Host", lchost)
> loxml.setRequestHeader("Accept","image/gif, image/jpeg,image/pjpeg, 
> text/plain, text/html, */*")
> loxml.setRequestHeader("Content-Type","image/gif")
> loxml.setRequestHeader("Content-Length", ALLTRIM(STR(LEN(lcxmldoc))))
> loxml.send(lcxmldoc)
> 
> hold = STRCONV(loxml.responseBody,9)
> 
> RETURN (hold)



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to