Home  >  Article  >  php教程  >  php ajax XMLHttpRequest POST实例代码

php ajax XMLHttpRequest POST实例代码

WBOY
WBOYOriginal
2016-06-13 11:23:55907browse

php教程 ajax XMLHttpRequest POST实例代码






ajax的POST


真正的POST



Person info will be listed here.



php 代码

header('Content-Type:text/html;charset=utf-8;');
echo "POST数据: ".implode('',file('php://input'));
echo  "
POST[q] ".$_POST['q']."
";
print_r($_POST);
?>


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn