laravel in the process of using want to achieve some functions, such as user rights authentication, how to find and use the methods we need, feel that the document is not very detailed. ...
use laravel Cache::get () Times error, version PHP7, error file vendor laravel framework src Illuminate Cache MemcachedStore.php igbinary extension is installed ...
I just started to learn the association model of laravel, and I was so confused that sometimes I really felt that it was not as convenient as writing sql directly. now there is a problem role tables admin_roles and admin_permissions tables have a man...
when using larave s gate for permission verification Admin_users (user table) Admin_roles (role table) Admin_permissions (permissions table) are many-to-many relationships first, register gate in App providers AuthServiceProvider $permissions=Admin...
problem description to develop single-choice, multiple-choice, right and wrong questions, how to design the database? How many watches should I design? I can t figure it out, for example, single selection and multiple selection are of the same type, ...
problem description to develop single-choice, multiple-choice, right and wrong questions, how to design the database? How many watches should I design? I can t figure it out, for example, single selection and multiple selection are of the same type, ...
python Code import requests url = "http: xxxx.cn file" files = {"file":open("demo.png", rb )} r = requests.post(url, files=files) print(r.text) php Code <?php public function upload(Request $request) ...
problem description my laravel migrates with database. Why can t you find the problem when creating the table? the environmental background of the problems and what methods you have tried related codes Please paste the code text below ...
the resource method is used in the laravel framework, but it seems to have been removed in the lumen framework; it has always been a good idea to use resource to standardize the code. try using ding go api in order to enable the lumen framework to use...
problem description Why can t my laravel get get data? the environmental background of the problems and what methods you have tried look at the picture related codes Please paste the code text below (do not replace the code with pictures)...
I mainly think that it is enough to create a database once. In the future, you can import directly under linux and windows using modified fields, using the mysql command line or navacate. It is also very simple to install doctrine dbal dependencies if yo...
1, I am a beginner ~ 2, recently I am doing something, developed with laravel+vue-cli. the problem I encountered is how to read the error message of validate validation failure directly in controller when carrying out form validation. the method I ...
1. Using the laravel framework, and then the port is 8088, in the server test upload is normal, but upload on other computers will report an error, prompting insufficient permissions, I posted the code below, please help. 2 Code Custom in filesystem...
1. Using the laravel framework, and then the port is 8088, in the server test upload is normal, but upload on other computers will report an error, prompting insufficient permissions, I posted the code below, please help. 2 Code Custom in filesystem...
problem description now a scenario is that GET requests a url, without cookie, so the session is passed through query, for example: https: www.example.com getxx. so, after getting the sessionid in the controller, how do I get the logged-in user? ...
reference documentation for example: class MyObserver { public function saving(Model $model) { $model } } this method is currently used to deal with it: protected $request; public function __construct(Request $request) ...
Queues in laravel can be assigned to different classes using onqueue . 1. Whether the queues under different classes are executed at the same time or in order. 2. What changes do you need to make to the queue.php configuration file in config w...
it s OK to use my own computer, but not a Linux host on the same LAN, and there s no problem with the online environment. the error is as follows: RequestCoreException: cURL resource: Resource id-sharp9; cURL error: Could not resolve: rans-7900.oss-c...
category classifies one-to-many commodities product, merchandise one-to-one commodity names productname $arr= Category::select ( id , name )-> with ([ products = > function ($query) {) $query->select( id , category_id );}]) ...
scenario is front-end separation (vue+laravel). When login verification is successful, the backend returns sessionID, using the default file storage session, that comes with laravel. Startsession, has been used in middleware. Here should be no problem. ...
specifically, click the reply button on the floor you want to comment on, and then put the name of the person you want to reply into the input box (textarea), such as @ name,. Enter the content of the reply . The content format of @ name reply is...
ask why the js console prints the result of console.log. If you don t drop down the console.log, you can see 2018-12-28. After the drop-down, it becomes empty. var today = new Date(); var date = today.getFullYear() + "-" ...
in the learning web, section, it is said that some changes can be made based on the original project (project3) through refactoring. I have the supporting source code, so can those who directly import the newly refactored project (project4) run independ...
compile and install php: on mac 1, source code on github of clone 2. Execute configure-- disable-all solves all error warning 3. Execute make error bin sh Users adminxxx php-src php-src libtool --silent --preserve-dup-deps --mode=compile cc -DH...
Boss, the following sentence SQL, the execution time has reached 6s, what should I do? in the end, I chose the scheme of "create a separate index " with the least impact. not sure this is the best result! just because of my environment, comprehens...