What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Communicating with an external site / PHP.

Communicating with an external site / PHP.
Author: Message:
citricsquid
New Member
*

<div style="sexy;100%">

Posts: 13
32 / Male / Flag
Joined: Sep 2008
O.P. Communicating with an external site / PHP.
So I have an interesting idea on something I'd like to create. I'm not new to PHP, which means I can create the php side of it perfectly, I am however totally inexperience with javascript, which is what I believe plugins are programmed with, correct?

How would I go about communicating with PHP, if this is indeed possible? Let's say I have a file "http://website.com/msnplugin.php" and I want to send something via MSN to that page, using get.

So how would I set it up so when a user, in msn, typed something like "/something LOL" it would query http://website.com/msnplugin.php?something=LOL

Understand what I'm getting at? Is it possible? If so, how?
09-08-2008 04:01 PM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Communicating with an external site / PHP.
quote:
Originally posted by citricsquid
How would I go about communicating with PHP, if this is indeed possible? Let's say I have a file "http://website.com/msnplugin.php" and I want to send something via MSN to that page, using get.
You could try using XMLHttpRequest.open :)

code:
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET", urlhere, true)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
09-08-2008 04:09 PM
Profile E-Mail PM Web Find Quote Report
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
34 / Male / Flag
Joined: Oct 2004
RE: Communicating with an external site / PHP.
[Tutorial] Communicating with web pages
09-08-2008 04:16 PM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: Communicating with an external site / PHP.
quote:
Originally posted by John Anderton
You could try using XMLHttpRequest.open :)

code:
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET", urlhere, true)

But don't forget the xmlhttp.send()! Otherwise it won't do anything.
Besides, we have a very nice tutorial about all this here: [Tutorial] Communicating with web pages ;)

Bah, got beaten again. :P

This post was edited on 09-08-2008 at 04:23 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
09-08-2008 04:22 PM
Profile E-Mail PM Web Find Quote Report
citricsquid
New Member
*

<div style="sexy;100%">

Posts: 13
32 / Male / Flag
Joined: Sep 2008
O.P. RE: Communicating with an external site / PHP.
Brilliant! Very helpful posts, thankyou. I like this place now, I'll stick around ;D
09-08-2008 04:27 PM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Communicating with an external site / PHP.
quote:
Originally posted by Mattike
But don't forget the xmlhttp.send()! Otherwise it won't do anything.
I just assumed that the MSDN article would lead him there :P Its on the sidebar thing in MSDN :P

And yeah, good tutorial :P
quote:
Originally posted by Mattike
Bah, got beaten again. :P
By like 2 years :P (well.. more like 6 minutes but who's counting 8-))
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
09-08-2008 04:41 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