Home >Backend Development >PHP Tutorial >php ajax XMLHttpRequest POST example code_PHP tutorial

php ajax XMLHttpRequest POST example code_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:07:59797browse

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);
?>


www.bkjia.comtruehttp://www.bkjia.com/PHPjc/444918.htmlTechArticlephp教程 ajax XMLHttpRequest POST实例代码 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd html xmlns=http://www.bkjia.com/1999/xhtm...
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