• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧


网络资源 Liam 1年前 (2019-04-28) 231617次浏览 979个评论 扫描二维码



   「Server酱」,英文名「ServerChan」,是一款「程序员」和「服务器」之间的通信软件。     说人话?就是从服务器推报警和日志到手机的工具。     开通并使用上它,只需要一分钟:     登入:用GitHub账号登入网站,就能获得一个SCKEY(在「发送消息」页面)     绑定:点击「微信推送」,扫码关注同时即可完成绑定     发消息:往 http://sc.ftqq.com/SCKEY.send 发GET请求,就可以在微信里收到消息啦 

正如 Server酱的介绍所言,先通过 GitHub 账号登录,获取 SCKEY,然后用你自己的 SCKEY 替换下面代码中的相应字段。

//评论微信推送 function sc_send($comment_id) { $text = '博客上有一条新的评论'; $comment = get_comment($comment_id); $desp = $comment->comment_content; $key = '你自己的SCKEY'; $postdata = http_build_query( array( 'text' => $text, 'desp' => $desp ) );  $opts = array('http' => array( 'method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $postdata ) ); $context = stream_context_create($opts); return $result = file_get_contents('http://sc.ftqq.com/'.$key.'.send', false, $context); } add_action('comment_post', 'sc_send', 19, 2);

将这段代码粘贴到 function.php 的末尾并保存。最后,绑定 Server酱的微信号,就可以从微信上接收别人给你博客的评论内容啦。

db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
喜欢 (1)
表情 贴图 加粗 删除线 居中 斜体 签到


  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. After examine a couple of of the blog posts in your website now, and I actually like your manner of blogging. I bookmarked it to my bookmark web site listing and will probably be checking back soon. Pls take a look at my web page as well and let me know what you think.
    kyrie 52020-09-28 17:50 (1天前)回复 Windows 7 | 未知浏览器
  2. This web page is mostly a stroll-by means of for the entire information you needed about this and didn抰 know who to ask. Glimpse here, and also you抣l positively discover it.
    yeezy boost 3502020-09-26 20:35 (3天前)回复 Windows 7 | 未知浏览器
  3. I was very pleased to search out this net-site.I wanted to thanks on your time for this excellent learn!! I undoubtedly enjoying every little bit of it and I've you bookmarked to take a look at new stuff you blog post.
    kawhi leonard shoes2020-09-24 14:01 (5天前)回复 Windows 7 | 未知浏览器
  4. Youre so cool! I dont suppose Ive read something like this before. So good to find any person with some original ideas on this subject. realy thanks for starting this up. this web site is one thing that's wanted on the net, somebody with a little originality. helpful job for bringing one thing new to the web!
    supreme clothing2020-09-22 09:46 回复 Windows 7 | 未知浏览器
  5. you may have an ideal weblog right here! would you prefer to make some invite posts on my blog?
    yeezy boost 350 v22020-09-20 07:00 回复 Windows 7 | 未知浏览器
  6. Hey! I simply want to give an enormous thumbs up for the great info you have right here on this post. I will be coming back to your weblog for more soon.
    kd shoes2020-09-18 03:17 回复 Windows 7 | 未知浏览器
  7. Aw, this was a very nice post. In concept I would like to put in writing like this moreover ?taking time and precise effort to make an excellent article?but what can I say?I procrastinate alot and by no means appear to get one thing done.
    nike off whtie2020-09-15 18:56 回复 Windows 7 | 未知浏览器
  8. Would you be serious about exchanging hyperlinks?
    moncler jackets2020-09-13 07:39 回复 Windows 7 | 未知浏览器
  9. I used to be very happy to search out this internet-site.I wished to thanks on your time for this glorious read!! I undoubtedly enjoying every little bit of it and I have you bookmarked to check out new stuff you weblog post.
    jordan shoes2020-09-11 03:48 回复 Windows 7 | 未知浏览器
  10. An fascinating discussion is price comment. I feel that you need to write more on this subject, it won't be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers
    authentic jordans2020-09-09 03:45 回复 Windows 7 | 未知浏览器
  11. you may have an excellent weblog right here! would you wish to make some invite posts on my weblog?
    yeezy 5002020-09-07 02:52 回复 Windows 7 | 未知浏览器
  12. There are definitely lots of details like that to take into consideration. That may be a great point to bring up. I offer the thoughts above as normal inspiration however clearly there are questions just like the one you convey up the place the most important factor shall be working in sincere good faith. I don?t know if best practices have emerged round issues like that, however I'm sure that your job is clearly recognized as a fair game. Both girls and boys really feel the influence of only a second抯 pleasure, for the rest of their lives.
    curry 62020-09-04 18:18 回复 Windows 7 | 未知浏览器
  13. I want to point out my appreciation for your kindness giving support to those individuals that must have guidance on your concept. Your very own commitment to passing the message along became unbelievably invaluable and have really encouraged associates much like me to get to their dreams. Your entire informative key points indicates a lot to me and far more to my office workers. Regards; from each one of us.
    jordan sneakers2020-09-02 06:07 回复 Windows 7 | 未知浏览器
  14. A lot of thanks for your whole work on this site. Betty delights in setting aside time for internet research and it's really obvious why. Almost all learn all concerning the lively means you produce useful tricks via the website and attract contribution from other ones on the concern so our own girl is actually becoming educated so much. Take advantage of the remaining portion of the year. You are doing a pretty cool job.
    supreme hoodie2020-08-31 08:11 回复 Windows 7 | 未知浏览器
  15. I simply wanted to appreciate you again. I'm not certain the things that I could possibly have carried out in the absence of the type of techniques documented by you regarding this question. Previously it was a real depressing matter in my position, however , witnessing the very well-written tactic you managed it took me to weep over delight. I'm happier for the service and then expect you comprehend what an amazing job you were accomplishing training men and women all through your webblog. I am sure you've never got to know all of us.
    moncler outlet2020-08-29 06:53 回复 Windows 7 | 未知浏览器
  16. Great Great Buy, smooth deal
    Cletus2020-08-28 18:42 回复 Windows 10 | Chrome 62.0.3202.94
  17. thanks a lot, great online watch shop, great!
    Manie2020-08-28 18:42 回复 Windows 10 | Chrome 62.0.3202.94
  18. A little heavy but other than that great.
    Mendy2020-08-28 18:42 回复 Windows 10 | Chrome 62.0.3202.94
  19. I happen to be commenting to make you be aware of of the incredible experience my wife's girl obtained reading through yuor web blog. She noticed numerous things, most notably what it's like to possess a great helping character to let most people without hassle know specific impossible things. You undoubtedly exceeded my expectations. Many thanks for providing those useful, healthy, educational and also cool thoughts on this topic to Mary.
    kd shoes2020-08-27 04:59 回复 Windows 7 | 未知浏览器
  20. I precisely had to appreciate you all over again. I do not know the things that I would've carried out in the absence of the type of aspects documented by you over such a situation. Entirely was a fearsome problem in my view, however , observing your skilled tactic you resolved it took me to cry with gladness. Extremely grateful for the support as well as pray you know what an amazing job that you are providing educating men and women thru your website. Most likely you haven't come across any of us.
    hermes2020-08-25 03:39 回复 Windows 7 | 未知浏览器
  21. Thanks for each of your efforts on this website. My mom delights in making time for investigations and it's simple to grasp why. I know all regarding the compelling manner you make efficient items via the blog and boost response from people on the theme then my child is without question understanding a lot. Take advantage of the rest of the year. You are always doing a remarkable job.
    golden goose sneakers2020-08-22 20:54 回复 Windows 7 | 未知浏览器
  22. I wish to express some appreciation to you just for bailing me out of this particular dilemma. Because of surfing around through the world-wide-web and finding solutions which were not pleasant, I was thinking my life was over. Existing without the presence of solutions to the issues you've resolved by means of your entire article content is a critical case, and the kind that could have in a wrong way damaged my entire career if I hadn't encountered your site. Your actual know-how and kindness in taking care of a lot of stuff was important. I'm not sure what I would have done if I had not encountered such a subject like this. It's possible to at this moment relish my future. Thanks a lot so much for this impressive and result oriented guide. I will not be reluctant to propose the blog to any person who would need guidance on this problem.
    supreme hoodie2020-08-17 09:48 回复 Windows 7 | 未知浏览器
  23. I have to point out my admiration for your generosity in support of persons that must have help with your concern. Your personal commitment to getting the solution all-around appears to be particularly informative and has without exception enabled men and women just like me to reach their ambitions. The important suggestions entails a great deal a person like me and extremely more to my fellow workers. Thanks a lot; from all of us.
    curry 52020-08-15 05:14 回复 Windows 7 | 未知浏览器
  24. Thank you so much for giving everyone an exceptionally remarkable chance to read in detail from this blog. It is often very great and as well , full of fun for me and my office co-workers to visit your web site at minimum 3 times every week to learn the newest issues you have got. Of course, I am just usually impressed with the brilliant hints you give. Selected 3 facts in this post are certainly the very best we've ever had.
    bape clothing2020-08-13 00:44 回复 Windows 7 | 未知浏览器
  25. Can you tell us more about this? I'd want to find out some additional information.
    Jerry2020-08-11 17:35 回复 Linux | Chrome 66.0.3359.139
  26. Hi would you mind stating which blog platform you're working with? I'm planning to start my own blog in the near future but I'm having a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I'm looking for something unique. P.S Apologies for getting off-topic but I had to ask!
    Marilyn2020-08-09 20:11 回复 Linux | 未知浏览器
  27. My husband and i were now contented that Michael managed to do his analysis while using the ideas he made through your weblog. It is now and again perplexing just to happen to be offering guidance that other people could have been trying to sell. So we see we have got the writer to thank for that. The entire explanations you've made, the easy blog navigation, the relationships you aid to foster - it is all fabulous, and it is facilitating our son and us understand the topic is entertaining, and that is really essential. Thanks for the whole thing!
    kyrie 42020-08-07 07:15 回复 Windows 7 | 未知浏览器
  28. I truly wanted to post a brief remark in order to appreciate you for those lovely recommendations you are giving out at this website. My rather long internet search has finally been recognized with reliable details to write about with my partners. I would suppose that many of us site visitors are unquestionably blessed to be in a superb site with very many outstanding individuals with beneficial things. I feel truly fortunate to have used your webpages and look forward to really more fabulous times reading here. Thank you once more for everything.
    supreme clothing2020-08-06 09:28 回复 Windows 7 | 未知浏览器
  29. I wanted to make a brief comment to thank you for all the marvelous steps you are giving out at this site. My particularly long internet look up has finally been compensated with high-quality insight to go over with my guests. I 'd assume that many of us site visitors actually are really blessed to be in a very good community with many wonderful individuals with good opinions. I feel truly privileged to have come across your web site and look forward to plenty of more entertaining moments reading here. Thanks a lot once more for everything.
    christian louboutin shoes2020-08-04 10:19 回复 Windows 7 | 未知浏览器
1 18 19 20