demand: for Testin platform, testers to test, but does not affect the production environment of the database, you need to use a test list background, if the merchant number or logo exists on the list, connect to another test server database. current s...
thinkphp5 switch between Chinese and English if the page has data taken from the data table and traversed, how can it be dynamically added to the language pack file? ...
I use TP5 to generate posters. User response card, so I tested it myself. The code is as follows $start = date( Y-m-d H:i:s ); $imageObj = think Image::open(ROOT_PATH. public white.png ); sleep(20); echo $start. <br> .date( Y-m-d H:i:s ...
in a situation encountered in the project, when doing background management, the front and rear ends are not separated. If the separation is done, the cost is too high. How to receive and transfer the data sent by the controller in vuejs using vuejs, in ...
the environmental background of the problems and what methods you have tried related codes Please paste the code text below (do not replace the code with pictures) first picture code public function edit () { $db_01=new DB(); $id_edit=Req...
this is what it says when I look it up on the Internet. How did I get this error when I skipped it?-sharp-sharp-sharp problem description the environmental background of the problems and what methods you have tried related codes Please pa...
thinkphp+mysql+redis, is used in the background to arrange on-site exams every period of time, about 100 people. At ordinary times, 3000 people will take mock exam training. my idea: formal examination, give out 100 sets of papers, except that there a...
problem description thinkphp is deployed in the CVM, and access prompts that the Index module does not exist. And the routing access result defined in router.php is 404. the environmental background of the problems and what methods you have tried ...
the time query is mentioned separately on the document, and after a general look, it is queried using the built-in method . this bothers me a lot when I use arrays to assemble query conditions. my query conditions look like this: $whereMap = [ [ n...
after tp5 executes the composer install installation CAPTCHA extension on the new computer, the access page report module cannot be found ...
public function __call($method, $args) { if (!require_cache("{$this->addonPath}Controller AdminController.class.php")) { E("database"); } $object = Think Think::instance(" A...
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...
running php server.php start in the controller reports Class thinkworkerServer not found the following is my third-party directory What is the reason for ? ...
now there is a project, and the demand is too painful! the price of each type of vip, from vip1 to vip5, is different! there is a data table in the backend that stores vip type vip_type with vip type price (money) and grade (level) now users write...
the document only says to modify the expiration time in the session.php file so that it is global. If you want to set the expiration time of a session individually, it does not take effect with the Session::init configuration. Session has always existed....
thinkphp5 rookie, access to 127.0.0.1 index index index is normal, then rename the copy of the index directory under the application directory to admin, input 127.0.0.1 admin index index or 127.0.0.1 admin is inaccessible, ask why ...
how does thinkphp5 turn on debug mode only in local code or in a method? I set the great effect in the program as follows Config::set ( app_debug ,true); ...
my code is as follows: Route::rule ( a _ blank, index Index a ); Route::rule ( a _ Route::rule _ type _ expression, index Index b ); I expect the first route expression to address a, and the second route expression to address b. Actually, the...
did when processing OPTIONS request if (isset($_SERVER["HTTP_ORIGIN"])) { header( Access-Control-Allow-Origin: . $_SERVER["HTTP_ORIGIN"]); } header("Access-Control-Allow-Headers: SET-COOKIE,COOKI...
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...
The data returned by is shown below. How do you define the color of each point based on the status value of each data? such as status=0 red status=1 data=[{ time:"2018-06-21", status:0, value:77 }, { time:"2018-06-21&...
below is the file of WeChat Pay SDK containing samples I am using TP5, how should I introduce and use them in my controller entanglement points: Namespaces are all used in TP5, and all nine files in this SDK are introduced with require_once . How...
in the same js file, there are two written methods: aPermib. It can be run when the c method is called, but only the second d method is executed if both methods c _ ab d call the above method at the same time. What to do, whether to make a packet into a...
as mentioned in the question, the back-end interface of https cannot be requested at the front end. I would like to ask how to solve this problem. the error requested is: failed to load resource:net::ERR_CERT_AUTHORITY_INVALID ...
...