What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Accessing information from the internet

Accessing information from the internet
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Accessing information from the internet
My bad... Thought it had the function in there... Got some spare time now so:

code:
function getInfo(){
        http_request = new ActiveXObject("Microsoft.XMLHTTP");
        http_request.open('GET', "www.website.com", false);
        http_request.onreadystatechange = event;
        http_request.send();
}

function event(){
        if (http_request.readyState == 4) {
                if (http_request.status == 200) {
                        var response = http_request.responseText
            Debug.Trace(response);
            //Your code goes here
                    }
            }
    }


Sorry for the mix-up
<Eljay> "Problems encountered: shit blew up" :zippy:
10-08-2007 02:12 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Accessing information from the internet - by ash44455666 on 10-07-2007 at 04:55 PM
RE: Accessing information from the internet - by Spunky on 10-07-2007 at 06:40 PM
RE: Accessing information from the internet - by ash44455666 on 10-07-2007 at 07:38 PM
RE: Accessing information from the internet - by RaceProUK on 10-07-2007 at 08:26 PM
RE: Accessing information from the internet - by ash44455666 on 10-07-2007 at 11:51 PM
RE: Accessing information from the internet - by Spunky on 10-08-2007 at 02:12 AM
RE: Accessing information from the internet - by ash44455666 on 10-08-2007 at 02:15 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On