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? ...
as mentioned above, when mysql is installed in linux environment, there is a problem when wget downloads the mysql package. The decompression error is as follows: it is said on the Internet that the downloaded package is damaged. But I used md5sum t...
problem description python encountered the following errors during the development of aircraft wars: Traceback (most recent call last): File "D: python aircraft wars .py ", line 53, in < module > main() File "D: python aircraft Wars. Py ", lin...
official example: : how do I modify it? No total number of entries no messages page no go to x page ...
shows the cross-domain problem after the call, but it can be opened in the browser address bar and the access_token, can be obtained, but the request in Vue always shows the cross-domain problem. What is the cause and how to solve it ...
event of creating tokens through passport AccessTokenCreated how is the generated token, converted to the corresponding access_token based on the generated token_id in this event? ...