Component.onCompleted: {var x = new XMLHttpRequest(); x.onreadystatechange =function() {if(x.readyState == 4) { if(x.status == 200) { console.log("服务器返回值: " + x.responseText); } } }; x.open("GET","http://localhost/index3.php?test=5"); x.send(null); }
$xml = $_GET["test"];
echo$xml;
?>').addClass('pre-numbering').hide();
$(this).addClass('has-numbering').parent().append($numbering);
for (i = 1; i ').text(i));
};
$numbering.fadeIn(1700);
});
});
以上就介绍了 QtQuick和PHP 最简单的通信demo,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。










