at first, there was a forum website, but later, when users got up, they wanted to be an e-commerce station, using different domain names, deployed on two servers respectively, and directly using the original user data. Now I hope that the two websites sh...
checking the debug of the website today, I stumbled upon several strange records: I don t understand why a request to https: *.12306.cn is directed to my server here are the Request Headers of several requests 1. POST https: epay.12306.cn ...
to ask a question, (MySQL) table A has code_name,code_id,code_field at the end, and table B of another table has many attributes, such as nationality, place of origin, and so on. The nationality subquery method is select code_name form A table where cod...
<?php namespace app index controller; class Pay { public function notice(){ websocket $server } } swoole can use $server- > push () ; only if you get $server . but how to solve this problem when you can t get $server ...
carries access_token and refresh_token in the header when requesting the interface. if access_token expires, the new access_token will be obtained according to refresh_token , and then the expiration time of refresh_token will be updated! ...
now you need to modify the operating system time with PHP. The system is currently centos . my code <?php $cmd = "date -s 20181123 08:00:00 "; $cmd = "timedatectl set-time 2018-11-23 08:00:00"; $cmd = "reboot"; ...
the problem has been solved, and the answer is given by the downstairs Fractal boss components => [ assetManager => [ basePath => @webroot asset , baseUrl => @web asset , ...
problem description this is the expansion pack I want to install: https: github.com jianyan74 . use the command to install composer require jianyan74 yii2-easy-wechat the environmental background of the problems and what methods you have tried ...
the server uses Aliyun ECS, to build a lampp environment, and the ssl certificate is downloaded from Tencent Cloud, . From the Internet to find some configuration tutorials, has not been successful. Visit your own website http is normal, https is not no...
after the user logs in, the user id login ip is encrypted by some algorithms. after encryption, the user token is written to the database and written to the cache (redis) the purpose of writing the cache is that every time the client requests to get t...
Local Yii2 framework, https will be redirected through virtual host access the Yii framework configured on the company s computer, and the access is normal. I uploaded the entire frame directory to the remote GIT repository, and then pulled the code ...
No one answered once before, probably because the description of the question is not very detailed configure the nginx server as follows: add_header Access-Control-Allow-Origin $http_origin; add_header Access-Control-Allow-Headers Cookie,Set-Cooki...
Project to achieve three-tier distribution; rebate to all superiors (up to three levels) after database design and user registration but I don t have a clue. Please give me a thought. if it is directly registered to reward 20 yuan if it is throug...
the previous project (front and rear separation) is that the verification code and data acquisition are normal on the apache server! then switch to nginx server result graphics CAPTCHA cannot be verified! But there is nothing wrong with getting and su...
check the execution log during the test, but the log is not displayed in real time. is there any software that displays the log in real time? ...
the current API is as follows: generate a token randomly after the user logs in. Use the value of token as the key cached by Redis . The cached value is the user s information, including user id, user nickname, user avatar, etc. Interface access and...
the problem is this: I created a project on Yayun that was written in the YII framework! Now that is to say, my team clone the project down and install it locally for project development, and now the front end is in the tmp assets directory. There ar...
problem description here are two data tables: order,user. Table relationship order.user_id Association user.id . Design a scene: in the background management, we need to search for orders, such as searching according to time and user name. ...
using the Yii2.0 framework, the server executes the following command directly to suspend the daemon normally. At that time, it often hangs up automatically after running for a few days nohup phpstudy www llq yii queue start & now a script has ...
I wrote a mysql database operation class, and then I wrote a model class for each table, and these model inherits the mysql database operation class. My mysql database operation class is in the form of a singleton class. Yesterday, when debugging the co...