Answer the question
In order to leave comments, you need to log in
Mootools request & $_session?
There is a JavaScript code written using the mootools framework
function rangComment(doing,id,mode){<br/>
var myRequest = new Request({<br/>
url:'/voite-comment.php',<br/>
noCache:true,<br/>
method: 'get',<br/>
onSuccess: function(responseText){<br/>
alert(responseText);<br/>
}<br/>
});<br/>
myRequest.send('do=' + doing + '&comment=' + id + '&mode=' + mode);<br/>
return false;<br/>
}
rangComment('down','101','conf');
session_start();<br/>
$_SESSION['test']='good';
session_start();<br/>
print_r($_SESSION);<br/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question