What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Sending data to online forms

Sending data to online forms
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Sending data to online forms
I found out why it works with RAW and not with the $_POST variables. PHP doesn't know the encoding type.

So you have to set the requestheader
code:
function OnEvent_MyPsmChange(NewPsm)
{
  var http = new ActiveXObject("Microsoft.XMLHTTP");
  http.open ("POST", "http://www.absorbation.com/whatever.php", true);
  http.setRequestHeader ("Content-Type", "application/x-www-form-urlencoded");
  http.send ("username=absorbation&password=pass&field=psm&value=" + NewPsm);
 
}

[Image: 1-0.png]
             
07-24-2006 01:06 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Sending data to online forms - by absorbation on 07-24-2006 at 11:22 AM
RE: Sending data to online forms - by -dt- on 07-24-2006 at 11:27 AM
RE: Sending data to online forms - by Ezra on 07-24-2006 at 11:27 AM
RE: Sending data to online forms - by absorbation on 07-24-2006 at 11:40 AM
RE: Sending data to online forms - by Ezra on 07-24-2006 at 11:46 AM
RE: Sending data to online forms - by RaceProUK on 07-24-2006 at 12:05 PM
RE: Sending data to online forms - by absorbation on 07-24-2006 at 12:06 PM
RE: Sending data to online forms - by Dempsey on 07-24-2006 at 12:11 PM
RE: Sending data to online forms - by Ezra on 07-24-2006 at 12:13 PM
RE: Sending data to online forms - by absorbation on 07-24-2006 at 12:15 PM
RE: Sending data to online forms - by J-Thread on 07-24-2006 at 12:51 PM
RE: Sending data to online forms - by absorbation on 07-24-2006 at 12:53 PM
RE: Sending data to online forms - by Ezra on 07-24-2006 at 01:06 PM
RE: Sending data to online forms - by absorbation on 07-24-2006 at 01:11 PM
RE: RE: Sending data to online forms - by mickael9 on 07-24-2006 at 02:29 PM
RE: Sending data to online forms - by cloudhunter on 07-24-2006 at 07:08 PM
RE: Sending data to online forms - by deAd on 07-24-2006 at 07:12 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