WeChat public number token has been verified successfully, but automatic response is not responding.

WeChat public number token has been verified successfully, but automatic response is not responding. WeChat public number token has been verified successfully, but automatic response is not responding. WeChat public number token has been verified successfully, but automatic response is not responding. Start with the code and ...

Posted by dirkbonenkamp on Mon, 06 Jan 2020 04:51:53 -0800

PHP export data to table instance

I found that there are many pages to export excel table for recent projects. I think this is also our common function. Now I can export it skillfully, but I remember that when I first exported it, there were some detours, so now I will record my export under the project of exhop framework (in fact, the export principles of Excel under different ...

Posted by MeanMrMustard on Mon, 06 Jan 2020 02:33:29 -0800

Use the array search function of php with caution

Array search is an array function that is frequently used by phper, but array search is also a function that is often abused. For example, in the following business scenario, you need to count the same elements in two large arrays (well, yes, there is an array intersect function that can do this, but this does not prevent us from talking about ...

Posted by grayscale2005. on Sun, 05 Jan 2020 23:01:49 -0800

nginx jump with parameters

//Original link: https://www.baidu.com/benefit_detail?slug=bankofchina-20170320 //Target link: https://www.test.cn/boc location ~ /benefit_detail { if ($args ~* "slug=bankofchina-20170320") { rewrite ^/benefit_detail /boc? permanent; } try_files $uri $uri/ /index.php?$query_string; } Common jump ca ...

Posted by dingus on Sun, 05 Jan 2020 18:42:22 -0800

The division of Fibonacci

Links: http://acm.nefu.edu.cn/JudgeOnline/problemShow.php?problem_id=115 Originally, this is a problem, but we can extract methods from it. Analysis and understanding of the topic: 1. For the problem, the data range of n is given: 1 < n < 1 000 000 000 000 violent solution, plus multiple sets of data, it is obvious tha ...

Posted by Double_M on Sun, 05 Jan 2020 17:49:35 -0800

CentOS7.5 install PHP7.3 using yum

1. Install php Current system environment [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@localhost ~]# uname -sr Linux 4.16.11-1.el7.elrepo.x86_64 Install yum source php 7 has two yum sources to choose from, one is webmatic and the other is remi. Add webmatic source (not accessib ...

Posted by freddykhalid on Sun, 05 Jan 2020 13:12:07 -0800

Nginx Core Configuration Details

1 Global Configuration user nginx nginx; # Users and groups that initiate the nginx worker process, defaulting to nobody worker_processes auto; # Number of nginx worker processes started, default 1 worker_cpu_affinity 0001 0010 0100 1000; #Binding Nginx_as a process to the specified CPU core, the default Nginx is not to bind to the process. Bi ...

Posted by soldbychris on Sun, 05 Jan 2020 05:47:49 -0800

How do I push modified submissions to a remote Git repository?

When I work with my source code, I do my usual submissions and push them to a remote repository.But then I noticed that I forgot to organize my imports in the source code.So I made a modification command to replace my previous submission: > git commit --amend Unfortunately, submissions cannot be pushed back to the repository.This was r ...

Posted by shah on Sun, 05 Jan 2020 04:33:51 -0800

How to judge whether to submit data to the background only when all three input box conditions for registration are met

/** *There are three input boxes on the registration page. You need all the conditions of the three input boxes to pass data to the server *1. Wrap the main body with a function, and set three variables without parameters; *2. Judge whether the data of each input box is correct, and return true if it is correct; return ...

Posted by nabeelkhan on Sat, 04 Jan 2020 19:59:29 -0800

Format chat list time

Recently, a function similar to customer service chat has been implemented. But I don't know much about the time format that the list needs to be displayed Therefore, refer to the time display logic of wechat chat list. I implemented a function myself Specific rules: If the time stamp to be formatted (T) > the time stamp in the morning ...

Posted by xcasio on Sat, 04 Jan 2020 11:25:41 -0800