O.P. [Request] Using PHP files
Hello! I am new in this forum.
I was trying to make a script which sends a MMS to my Mobilephone when my status is AWAY and I receive a message. I've got my php script and it works in this way:
http://"mysite".org/mms.php?nick=sender&rcpt=number&text=Message
Moreover i've read someone used this:
function SendToPHP(email,msg){
var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
with(xmlhttp){
setRequestHeader("email",email);
setRequestHeader("message",msg);
onreadystatechange = function(){if(readyState==4 && status!=200) Debug.Trace("ERROR!\n\n email: "+email+"\n\n message"+msg);};
open("POST", /*make sure you defile this variable*/ url,true);
send(null);
}
}
Can you help me?
|