Category: Programming Development
-
Post Views: 15 1. To realize WeChat login in the WeChat client, the QR code scanning layer will pop up, which should be canceled and directly jump to the authorization page, as shown in Figure 1: 2. In the mobile browser, the QR code scanning layer will pop up, and an error will be reported after scanning, as shown in…
-
Post Views: 13 1. Composer has been installed, update composer to the latest version, execute the command, the result is as shown in Figure 1: composer self-update Error: warning: modulembstringAlready loaded in unknown on line 0 2. In php.ini, it is found that extension=php_mbstring.dll is loaded twice, and the 1007 line is commented out, as shown in Figure 2 and…
-
Post Views: 41 1. Open: https://github.com/hprose/hprose-php/blob/master/readme_zh_cn.md, download hprose for php; 2. Take http://www.hprose1.com/http_server.php as the server, and the running result is shown in Figure 1: 3. Take http://www.hprose2.com/http_client.php as the client, the running result is shown in Figure 2: An error is reported: 4. Set in the php.ini file: always_populate_raw_post_data = -1, with http://www.hprose2.com/http_client.php as the client, the result of…
-
Post Views: 13 1. Program screenshots, New Imagick: 2. Error when the browser runs: Unable to read the file 3. Run the command: rpm -qa | grep ghostscript, find that the gs software is not installed, run the command: yum install ghostscript 4. The file is successfully uploaded, and the corresponding png picture is successfully generated:
-
Post Views: 11 The reason is that there are no expansion packs in the official source! Since the source code compilation and installation is more troublesome, I decided to add another source, and finally decided to use the EPEL source. The steps to install the EPEL source are as follows: 1. Install the yum priority plugin yum install yum-priorities…
-
Post Views: 10 The actual rules of the js function are: if (hasError == false) { return false; } else { return true; // If it returns true, the form submission operation will continue! }
-
Post Views: 11 View code: View interface: Post print after submission: Requirement: question_type is to be inserted into the database, as a string Solution 1, directly reset $_POST[‘QuestionOrder’][‘question_type’]: Reprint out the POST variable: Solution 2: The result is that both solutions can be inserted in the question_type problem type (1 replenishment, 2 exchange, 3 returns, 4 refunds, 5…