the token of laravel will never change if the cookie is not cleared, so it won t play a protective role? Is there any way to achieve timing change? ...
if I use onqueue to create tens of thousands of queue classifications. How can all be monitored. Can all be implemented on Synchronize. Will it get stuck. There are not many tasks in each queue category. Occasionally there are two or three at the sam...
I also use self::dispatch () in the queue to invoke the task itself. It didn t stop until some conditions were reached. Now I need to stop ahead of time in the middle of the execution. What should I do? ...
1. Looking for a library of image quality compression (without compressing width and height), find laravel-image-optimizer 2. Follow the description on the official website. The picture is not compressed https: packagist.org package.. 3, post core c...
my laravel vue project, after running npm run dev, there are several js files in the public folder, such as 0.js 1.jsrecover2.js. What s going on here? ask for guidance ....
use laravel to validate the form. routing: get is the registration view page, post is the registration logic Route::get( regist , User RegistController@registView ); Route::post( regist , User RegistController@regist ); form <form clas...
PostRequest.php : { "message": "The given data was invalid.", "status_code": 500, "debug": { "line": 117, "file": " var www site vendor laravel framework src ...
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"; ...
such a scenario. uses swoole as the server and then An enters the website. Will send an instruction to the server. Then wait for the return. if B enters the website at this time. Hope to wait. Until A s command has been returned and a reception h...
templates and indexes are set and generated. But when I check mapping, I find that enable has always been false: . $client = new Client(); $url = config( scout.elasticsearch.hosts )[0] . _template tmp ; $client-&g...
laravlel5.5+vue project, run dev success, run prod failed error is as follows: ERROR in 2.js from UglifyJs Unexpected token: name (package). node_modules vue-loader lib template-compiler? { "id ": "data-v-3684b463 ", "hasScoped ": false, "buble "...
laravel takes more than two seconds to return the result with only one sentence output. the local environment is installed with Docker for Mac. The php7, laravel version is 5.7 . this is the result viewed with debugbar php-fpm ...
when you first transfer from thinkphp5.1 to laravel, for form validation, there are two ways to look at the document: the first is to use the following code directly in the controller $this->validte(request(),$rule) the second is Validate::make(...
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...
used to use the image address stored in Aliyun oss,mysql, but now the outsourcing has closed down, and the Aliyun account does not know. Now you want to move all the saved pictures to your own Aliyun oss. What s a good idea? ...
use laravel5.7+wangEditor3.1 to publish the content of the article. add the js code of the article part, and then submit the data in the way of ajax, which is not suitable for this way . <script type="text javascript"> $.ajaxSetup(...
gitlaradocktoolboxdocker-compose up nginx~ virtualBoxlocalhost80nginxvirtualBox this should be the container-> machine- > virtualBox, should be the container-> machine there is a problem in this step. there is no answer on the Internet for a long ti...
just transferred from thinkphp5 to laravel. There are some problems. in the past, when thinkphp did projects, the front-end package management used bower, to put directly into the public directory, and script src directly introduced when references we...
problem description I now have a publish table that records the published data with the following fields: publish_articlepublish_activity: publish table has polymorphic association with other data tables . I need to get the specified amount of...
1. The requirements are as follows: -sitemap-:http: xxx.xxx xx.xml :http: xxx xxx xx () -xml- title 2. My code looks like this: set_time_limit(0); function get_title($url) { $output = file_get_contents($url); $page = []; $page[ title...