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...
customized articles and categories, call does not display, search did not find, help to see where there is a problem, thank you <?php $args=array( hide_empty => 0, exclude => 0, taxonomy => cus...
I have vue-cli-3.0 this file but he cannot enter if exist% input% ? what s going on? ...
currently working on a company s official website, it is required that the pc,pad, mobile terminal uses a html to implement it. Now it is done by bootstrap+ media query + rem. Later, it is found that bug always appears repeatedly (multi-person developme...
A warning appears in the Redirect component during route interception and redirection: Warning: You tried to redirect to the same route you re currently on: " login " Route blocking component: * * import React from "react " import {Route, Red...
problem description span,div wrapped in div has no height set, but it is always much higher than span s; div sets nothing and has no parent influence the environmental background of the problems and what methods you have tried related codes ...