this part is wrong:
Code:
// Pass the login variables like URL variable
http.open('post', 'query_activity.php?girl='+girl+'&prive=' +prive+'&nocache = '+nocache);
http.onreadystatechange = insertReply;
http.send(null);
must be:
Code:
http.open('post','query_activity.php',true);
http.onreadystatechange = insertReply;
http.send('girl='+girl+'&prive=' +prive+'&nocache='+nocache);
best regards