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...
this is the singers list https: y.qq.com portal singe. ...
question 1 is the transmission between master and slave databases encrypted? If not, can it be set manually? question 2 can I configure the master-slave database in this way? Master database is placed in the cloud, such as Ali; slave databa...
-sharp flask route @app.route( test ) def test(): -sharp flask send_grpc() -sharp __main__ def send_grpc(): channel = grpc.insecure_channel( server_host ) client = something_pb2_grpc.SomethingStub(channel=channel) -sharp flask res =...
elementui table merges tables. If there are too many rows, the remaining tables will not be displayed when it comes to course 2, the rest will not be displayed, and then there will be an extra line . ...
questions are as follows: when you hear that visual studio code supports JAVA, download and use it. There is a problem in the process of using it. No matter what you type, there is always an error Evaluation failed because the thread is not suspend...