this is the curl method of post that I encapsulated static function PostCurl($uri, $params = array()) { $url = self::CURL_URI . $uri; $params[ pcs ] = 3; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url...
the following is the query sentence I wrote, but I am worried to death, but the function is realized. It is too hard to write. I repeat a lot. May I ask how to simplify it, or how to pass in the variable query, or if there are any other methods to simp...
for example, I have such a file storage app public report 1 14.pdf, in the laravel project through the php artisan storage:link command, which can be accessed directly using http: domain storage report ., but because of the particularity of this pdf,...
< H1 > there are two tables, one merchandise table: shop_goods table structure is as follows: < H1 > CREATE TABLE `shop_goods` ( `goods_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT ID , `goods_name` char(60) NOT NULL COMMENT , `g...
original text. https: laravel-china.org top....
the files given by the customer will be placed on ftp according to a certain format, and then I need to access them according to the rules and store them locally, and then put them on my server. I am generating url to return to ios+ Android model article...
Direct fork larabbs project, request "topic list " and other APIs after installation, all prompt: message: "404 Not Found", status_code: 404, debug: { line: 178, file: "D: jeff code larabbs vendor laravel framework src Illuminat...
< H1 > api routing settings < H1 > <?php use Illuminate Http Request; * |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Her...
www.domain.com testurl if laravel does not exist for this route, it will report an error Sorry, the page you are looking for could not be found. now I want to show him the same type or other content when the current route does not exist, instead of dis...
...
1. First of all, there is a page A, the request to enter page An is a get (the framework uses laravel) 2.A page has a form, and the request method through ajax, is post 3. Question: if the request to enter the POST of page An is not processed in t...
Laravel Version: 5.5 PHP Version:7.0 Laravel-admin: 1.5.* follow the official documentation step by step when installing laravel-admin. in the php artisan admin:install command, prompt me There are no commands defined in the "admin " namespace. ...
encountered problems with data padding, which was previously populated with random data, using laravel model factory and Faker Generator to generate random data. It s very convenient. But I want to fill in some data provided by me instead of random...
can the 1.spatie laravel-backup backup database specify which tables are backed up, which tables do not need to be backed up, and how to configure them? 2. 3. At present, it specifies the database type, and I don t think these are specified in the ...
1.composer require "spatie laravel-backup: ^ 3.0.0 " prompt. composer.lock "is not UTF-8, could not parse as JSON, indicates that my composer.lock is not in utf8 format and cannot parse the json data in it. I encountered this problem the first time I...
Today we need an extended predi, and then 1. When you get down the local update, there is a problem: a controller is repeated, and then leave it alone. Delete the duplicate, 2. Then up vendor s predis directory online through svn; 3. But one problem...
good evening, big gods. I have this need: the PHP server acts as a middleman to communicate between the mobile app end and the hardware device (roughly like this, some words may be unprofessional). In some cases, the app side and the hardware side take t...
assume that data storage drivers can be switched through the configuration file, such as storing the data in mysql, and then changing the configuration file to redis. currently my pseudo code is as follows: 1: create an interface <?php namespace...
the previous configuration has been completed, and this problem is only encountered when starting the virtual host ...
Baidu checked and found that the character limit in a cell in excel is 32767, but now the exported cell is beyond this range, resulting in the content being truncated. Is there any good way to solve this problem? ...
problem description how does koa+mysql, implement batch update and batch insert, realized batch deletions sql id let cartDelectById = (id) => { let sql = `delete from cart where cart_id = ${id};` return query(sql) } ...
use hbuilder to package the app, written by vue. If you exit app, on your mobile phone, you have to log in again. How to ensure that you keep your login status all the time ...
is the small icon project of the website above the browser, which is the ico icon built with vue-cli. I added it in the index.html of the root directory, but after I packed it up and went online, I always reported that I couldn t find it and sometimes ...
Why can the click event of the created A tag be triggered with the event created by document.createEvent (), but not with with new Even ()? ...
Hello, everyone TestDebugIdea ...