Nginx parsing PHP related configuration
location ~ \.php$
//There are two listening formats of fastcgi ﹐ pass, ...
Added by phpSensei on Thu, 30 Apr 2020 15:35:29 +0300
1, Check the ngxin configuration. Here is my nginx configuration
Here paste the source code for your reference:
user www www;
log_format main '$remote_addr - $remote_user ...
Added by a6000000 on Wed, 29 Apr 2020 17:13:02 +0300
With PHP 7.4, there is an extension that I think is very useful: PHP FFI (Foreign Function interface), which refers to a description in PHP FFI RFC
For PHP, FFI opens a way to write PHP extensions and bindings to C libraries in pure PHP.
Yes, FFI provides high-level languages to call each other directly. For PHP, FFI allows us to call various ...
Added by pgudge on Tue, 28 Apr 2020 15:57:51 +0300
PHP uses asymmetric encryption algorithm (RSA)
In the daily design and development, in order to ensure the security of data transmission and data storage, the clear data can be encrypted into complex ciphertext by specific algorithm. At present, the mainstream encryption methods can be roughly divided into one-way encryption and two-way encryp ...
Added by czukoman20 on Tue, 21 Apr 2020 06:17:09 +0300
Use to wechat interface is“ Generate QR code with parameters ”Two kinds of QR codes can be generated, one is temporary QR code, which will expire with a large amount of generation. It is mainly used in business scenarios such as account binding, where the QR code is not required to be permanently saved; the other is permanent QR cod ...
Added by Riparian on Fri, 17 Apr 2020 19:13:17 +0300
PHPer engaged in the financial industry has frequent capital calculation. If you don't pay attention to it, you may lose hundreds of thousands or even worse... Let's take an example:
Why is 0.1 + 0.2 not equal to 0.3? (correct result: 0.3000000000000004)
Why is 0.8 * 7 not equal to 5.6? (correct result: 5. ...
Added by tekkenlord on Thu, 16 Apr 2020 13:12:51 +0300
In the last article, we introduced a logistics service provider. We recommend you to use Express Bird Interface. It mainly describes how to register an account, get a key, and find a registered address. I'll send it:
Today we're going to talk about how to use the interface provided by courier birds for instant queries.
Added by forced4 on Wed, 15 Apr 2020 04:59:12 +0300
Introduction to Contracts
Laravel's Contract Contracts are a set of interfaces and a specification for code implementation.The Laravel Framework Core Service provides many Contracts, such as IlluminateContracts\Logging\LoggingLogging, which defines the method required to log. The framework itself has corresponding implementations for Contracts, ...
Added by andychurchill on Sat, 11 Apr 2020 04:52:21 +0300
When some websites register, they will send email to the user's mailbox. Click the link in the email to activate the account. The basic principle is to save the user's information into the database at the time of registration (i.e. Click to send email). In addition, there is an activated field (default is not activated) that clicks the link in ...
Added by guyfromfl on Wed, 08 Apr 2020 07:46:04 +0300
4. Send http request
4.1 copy mynetworkobject.cpp and mynetworkobject.h to your project
(ps: these two documents were found on the Internet, and I have modified them)
4.2 add "mynetworkobject.h" to the header file
// I added it in mainwindow.h (no special explanation below, take this demo as an example)
Added by Strings on Mon, 06 Apr 2020 04:08:50 +0300