Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get local time in other countries
Message
De
10/07/2006 13:42:07
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01134752
Message ID:
01135033
Vues:
25
>
CREATE CURSOR myWebPage (content m)
>url="http://www.timeanddate.com/worldclock/full.html"
>objHTTP = CreateObject("MSXML2.XMLHTTP")
>objHTTP.Open("GET", url,.f.)
>objHTTP.Send()
>Insert into myWebPage (content) VALUES (objHTTP.ResponseText)
>MODIFY MEMO myWebPage.content
Of course I had to try it right away... and the first thing I see in the memo is

"scripts and programs that download content transparent to the user are not allowed without permission".

So I figure downloading it once and keeping the offsets somewhere would be better, otherwise the admins of the site may take notice that something keeps doing a simple httpget(), and start getting annoyed.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform