Send messages to your WeChat at any time - PHP
$url_api = "http://zhushou.easybots.cn/ep-api_send?k=......&msg="; // k is your own private key // This interface can only Send WeChat to yourself, please go to http://zhushou.easybots.cn to apply-
- $msg = "Server abnormality, please log in to check";
-
- // Send
- $s = file_get_contents($url_api . urlencode($msg) );
-
- //Check result
- if('+OK' == $s) ...
-
-
- Copy code
|