What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [???] Http GET request

[???] Http GET request
Author: Message:
Intosia
Junior Member
**

Avatar
I'm dynamic ^^

Posts: 78
40 / Male / –
Joined: Mar 2004
O.P. [???] Http GET request
Hi,

I was wondering how to call a url to a php script and give it some GET data.

TIA!




This post was edited on 07-03-2006 at 02:26 PM by Intosia.
07-03-2006 02:25 PM
Profile E-Mail PM Web Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: [???] Http GET request
quote:
Originally posted by -dt-
To use send data to websites you use XMLHttpRequest

code:
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET", "http://shoutbox.menthix.net", true);

    xmlhttp.onreadystatechange=function() {
          if (xmlhttp.readyState==4) {
              Debug.Trace(xmlhttp.responseText);
          }
         }
xmlhttp.send('');




:P that will print msghelp.net's html to your debug console

edit:
changed the async flag to true on the xmlhttprequest object (so it doesnt freeze the chats while doing its stuff)
07-03-2006 02:36 PM
Profile E-Mail PM Web Find Quote Report
Intosia
Junior Member
**

Avatar
I'm dynamic ^^

Posts: 78
40 / Male / –
Joined: Mar 2004
O.P. RE: [???] Http GET request
Thanks man!! Helped me out 100% _O_
07-03-2006 02:39 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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