Category: Web Development Technologies
-
Post Views: 17 1. In Laravel 6, access:https://object.local, 302 jump tohttps://xxx.xxx.xxx.top. as shown in Figure 1 2. Look in the source code: xxx.xxx.xxx.top, not found. And the database has replaced all xxx.xxx.xxx.top with Object.local. 3. There is a key name in Redis: laravel_cache:main_domain_cache, its value: s:26:”xxx.xxx.xxx.top”;. as shown in Figure 2 4. After clearing Redis, visit again:https://object.local, the response 500.…
-
Post Views: 19 1. The HTTP request failed, and an error is reported: CURL Error: #55 – TCP Connection Reset by Peer. When requesting the Penguin video file sharding upload interface. as shown in Figure 1 2. View the size of the video file: 1554129526 / 1024 / 1024 = 1482.13 MB. as shown in Figure 2 3. View the…
-
Post Views: 15 1. Report an error in Windows 10, Nginx 1.10, and PHP 7.4: 413 Request Entity Too Large. The size of the uploaded file: 286MB. as shown in Figure 1 2. Check phpinfo, the size of the uploaded file is limited to 1024M. as shown in Figure 2 3. Add to nginx’s server: client_max_body_size 1024M; 4. Restart nginx…
-
Post Views: 16 1. Reference URL:https://www.shuijingwanwq.com/2021/08/10/5155/. In PHP, the size of the file is detected based on the HTTP protocol (that is, the size of the remote file is obtained without downloading the file), the previous implementation, using the file system function fopen – open the file or the URL. If the URL of the file requires a 301 jump,…
-
Post Views: 22 1. In the process of realizing the channel release, there is a situation where the files to be uploaded to the channel are too large, which leads to the failure of the upload. For example, Douyin, which is temporarily limited to 128 MB. as shown in Figure 1 2. However, the implementation logic at this stage is…
-
Post Views: 15 1. HTTP requests a static TXT file, the first response is 304, and the second time is 200. as shown in Figure 1 2. Reference URL:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/304. HTTP 304 does not change the content of the request that does not need to be transferred again, that is, the content of the cache can be used. This is usually…
-
Post Views: 14 1. In the previous release interface, only one channel is supported for a release. Therefore, the release of the three channels needs to call the interface (APP, Netease account, Weibo) 3 times respectively, as shown in Figure 1 2. On the current release interface, it is ready to publish at one time and can be published on…
-
Post Views: 12 1. GetID3() is a PHP script that extracts useful information from MP3 and other multimedia file formats. Open URL:https://github.com/JamesHeinrich/getID3 2. Install based on composer: jamesheinrich / getid3. The URL to open the PHP package repository:https://packagist.org, search: jamesheinrich / getid3 , get the search result: james-heinrich/getid3, as shown in Figure 1 3. In PowerShell, execute the installation command:…