PHP

Shopro homepage pop-up optimization

Because the length and width of the pop-up window and the picture are not 1:1, the user clicks on the blank space and does not close the pop-up window. You can judge whether to display the pop-up window according to the conditions, for example: the user who has received the coupon will no longer pop up

PHP uses pipeline design pattern to achieve user credit task requirements

Completing the task will give you points. If you need to recover the points if you encounter a refund, the task is roughly as follows: 1. Add 10 points to the shopping cart for the first time every day 2. You can get 100 points for the first order every day 3. You can get 100 points when the accumulated shopping amount reaches 99 yuan Points 4. Get 100 points for shopping 10 times. 5. Get 10 points for daily check-in. 6. There are many strange tasks...

Add title attribute to WordPress menu

Title Attribute can help you display the detailed information of your menu items, and it is easy to add in the navigation menu items of WordPress

PHP RSA front and back end encrypted communication

Party B generates a pair of keys (public key and private key), and discloses the public key to Party A. After Party A obtains the public key, it encrypts the data to be transmitted with the public key and sends it to Party B. Party B obtains the public key. After encrypting the data, decrypt it with the private key