What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Check for input and post to PHP

Check for input and post to PHP
Author: Message:
r3m!xXx
New Member
*


Posts: 6
Joined: Jun 2008
O.P. RE: Check for input and post to PHP
hey guys, its me again!

code:
var url = "http://www.example.com";
var data = "var1=some%20data&var2=some%20more%20data";

Interop.Call("wininet.dll", "DeleteUrlCacheEntryW", url);
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("POST", url, true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.setRequestHeader("Content-length", data.length);
xmlhttp.setRequestHeader("Connection", "close");
[...]

how do i handle the vars here? is my stuff already saved in $var1, $var2 and $var3? i guess not because php doesnt know that variable... seems like ill have to use the GET array method allthough i took the post method. or is it saved in $_POST[t1] and so on?
excuse me for not understanding...
06-10-2008 03:37 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:07 PM
RE: Check for input and post to PHP - by matty on 06-10-2008 at 02:10 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:17 PM
RE: Check for input and post to PHP - by Volv on 06-10-2008 at 02:21 PM
RE: RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:26 PM
RE: Check for input and post to PHP - by Matti on 06-10-2008 at 02:26 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:45 PM
RE: Check for input and post to PHP - by Felu on 06-10-2008 at 02:49 PM
RE: RE: Check for input and post to PHP - by Volv on 06-10-2008 at 03:03 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 02:54 PM
RE: Check for input and post to PHP - by Felu on 06-10-2008 at 03:06 PM
RE: Check for input and post to PHP - by r3m!xXx on 06-10-2008 at 03:37 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