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

php ajax XMLHttpRequest POST实例代码

WBOY
Release: 2016-06-13 11:23:55
Original
936 people have browsed it

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


Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template