Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communicating with Web Site
Message
De
29/01/1999 18:08:15
 
 
À
29/01/1999 17:36:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00182062
Message ID:
00182070
Vues:
11
>>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.


If I can't get to the web page, is there a way to call an external C program and get a value?

Pf

(On an infant's shirt): Already smarter than Bush
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform