首页 >社区问答列表 >微信$data =file_get_contents('php://input')取不到数据,抓包

微信$data =file_get_contents('php://input')取不到数据,抓包

$timestamp  = $_GET['timestamp'];       

$nonce = $_GET["nonce"];     

$msg_signature  = $_GET['msg_signature'];        

$encrypt_type = $_GET['encrypt_type'];        

$openid=$_GET['openid'];

$xmldata =file_get_contents('php://input');//抓包显示有数据,但是获取不了。求大神。