Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Communicating with Web Site
Message
From
29/01/1999 17:36:15
 
 
To
29/01/1999 17:29:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00182062
Message ID:
00182065
Views:
13
>I need to process a file through a web site. The web site will return a value for each record processed. I have been given access to 2 methods to accomplish the goal:
>
>1) Send the information via TCP/IP communication to the web site and get the return value
>2) There is a C exe that I can call, sending it the information and letting the C routine call the web site and return the value to Foxpro
>
>Any suggestions on the best method?
>


Rick Strahl's wwIPStuff has a method (HTTPGet) that takes a URL as a prameter and returns the contents of the page to a string. So to get the HTML for UT's front page into a string:

oIP = CREATEOBJECT('wwIPStuff')
lcPAgeString = oIP.HTTPGet("http://www.universlathread.com")

You can download this class from here in the files section.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform