Home >php教程 >php手册 >随时发消息给自己的微信

随时发消息给自己的微信

WBOY
WBOYOriginal
2016-06-06 19:31:401920browse

随时发消息给自己的微信-PHP 无 源码与演示: 源码出处演示出处 $url_api = "http://zhushou.easybots.cn/ep-api_send?k=......msg=";// k 是自己的私钥// 此接口只能发微信给自己,请到 http://zhushou.easybots.cn 申请 $msg = "服务器异常,请登录检查"; /

随时发消息给自己的微信 - PHP

源码与演示:源码出处 演示出处

$url_api = "http://zhushou.easybots.cn/ep-api_send?k=......&msg=";
// k 是自己的私钥
// 此接口只能发微信给自己,请到 http://zhushou.easybots.cn 申请
 
$msg = "服务器异常,请登录检查";
 
// 发送
$s = file_get_contents($url_api . urlencode($msg));
 
// 检查结果
if('+OK' == $s) ...
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