<?php $txt = '{    "touser":"ooI-HjrvagHDtb-dYgECy3lXDIa4",    "msgtype":"text",    "text":    {         "content":"Hello World"    }}';
$access_token = "0owGv3e_k-dXFiRUiJp0JpiT-a0dGz2CsuwkbLdi5YXyUUft2OkiG9kVqw2EhAlpXjFoXFdGOIZsx4SCRPv0yS62G0m7cqy6slptolDbJ0fEjLG8hd8qKVAQnyaXwjXh3taoWN8S_KIkyi8Xe48lcQ";
$url = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=".$access_token;
$arrayData = array("name" => "Hagrid", "age" => "36");
$sendJsonData = json_encode($arrayData);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, $sendJsonData);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json',
'Content-Length: ' . strlen($sendJsonData))
);
var_dump(curl_exec($ch));   
?>
用这种方法总是提示网页打不开,什么问题呢,谁会啊 给分 给钱都行啊 会的留联系方式