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

Use PHP to connect to FTP server

PHP provides a built-in function to connect to the ftp server using the ftp_connect() function. Using the ftp connection, you can easily transfer files via FTP. Here, I will show you how to connect to ftp server and ftp login in PHP

Hide the management bar in WordPress

There are many ways to hide the management bar, and there are many reasons why you may want to hide the management bar. You can do this by adding some code in the theme's functions.php file

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

Files Photo Gallery Close the authorization pop-up window

Files Photo Gallery is a single-file PHP catalog program that can be placed in any catalog on the server and immediately has a file and folder preview catalog. It supports all file types and allows you to preview images, videos, audios and codes

Simulate your API in a Symfony project

If you have a Symfony project that makes HTTP requests to your other projects (be it microservices, front-end and api separation projects, etc.), you may need to mock them for your tests.