Tag: PHP

  • Post Views: 13 Recently, I have been unemployed at home, while silently running my own blog while looking for remote work intermittently. After leaving the rhythm of punch-in in the workplace, I often struggle: should I be a freelancer to take an order, or should I develop and start a business independently, or find a full-time remote job? After thinking…

  • Post Views: 23 When displaying code snippets containing emoji in WordPress, it is often encountered that Emoji is converted into &#x1f389; Or <img> label problem. This article records a complete investigation and solution process. problem In the code block of the WordPress Gutenburg editor, write the following PHP code, as shown in Figure 1: After saving the article, the front…

  • Post Views: 22 Foreword: To undertake the sixth article of this series ‘Part 5: WordPress Multilingual Blog Translation Practical Records (Polylang) Plug-in, with pit guide)’, Part 6 focuses on the complete process of ‘translation of the full text of the stock Chinese blog into English’, and in the actual operation, we will continue to add Chinese articles—— These new articles…

  • Post Views: 25 Preface In the previous series of articles, I have completed multi-language adaptation of classification, and today I want to solve the most cumbersome part of the entire multilingualization: batch translation of 8060 Chinese labels. Manually add more than 8000 tags to translate one by one? This is obviously unrealistic. After clicking these 8,000 buttons, I am afraid…

  • Post Views: 18 This series of articles records the author’s experience and practical experience in learning the Go standard library. This article is from the built-in template engine of Go Html/Template And text/template Start with, take you to quickly grasp the core concepts and practical usage, and intersperse the developer perspective of PHP to Go. Introduction: From PHP Mix to…

  • Post Views: 17 1. The code is implemented as follows 2. But the verification failed, as shown in Figure 1 3. Since the format of H:I is the format in PHP. Set the string starting with php: to represent the date-time format that PHP can recognize. Verification passed. as shown in Figure 2

  • Post Views: 18 1. In PHP, insert the JSON string (the Chinese has been encoded) into MySQL, and the Chinese has been encoded. as shown in Figure 1 2. Try to url decode the entire JSON string directly. Instead of converting JSON to an array, then traversing the array, url decoding each value, and finally encode the array into a…

  • Post Views: 18 1. Reference:In Laravle 6, simulate a route requesting a resource file, and the data is fetched from the database . Request 200 in the local environment. as shown in Figure 1 2. In the production environment, the response is 404 not found (openresty, server: cloudflare). as shown in Figure 2 3. Check the Nginx request log to…

  • Post Views: 18 1. The existing time field, its value is: 20231020105244000+0800, it can be known that its format in PHP is: ymdhisvo. Reference:https://www.php.net/manual/zh/datetime.format.php 2. Based on DateTime::CreateFromFormat — date_create_from_format – parse the time string according to the specified format. Print the returned DateTime object. as shown in Figure 1 3. Based on DateTimeInterface::Format — DateTimeImmutable::Format — DateTime::Format — Date_Format…

  • Post Views: 15 1. The existing PHP code is implemented as follows 2. Open:https://regex101.com/, the matching is successful, and the result is as follows. as shown in Figure 1 3. Now expect that internal://all_collections/ can also match. Tip: Your regex doesn’t match the theme string. as shown in Figure 2 4. Characters with special meanings in regular expressions are called…

👨‍💻 Personal Brand

Wang Shiqiang | PHP & Go Technical Consultant

15+ years of backend development experience specializing in system maintenance, architecture optimization, performance tuning, and Linux administration.

Technical blogger since 2013 with 1,000+ original articles.

Available for consulting, long-term maintenance, and remote collaboration.

👉 About Me & Contact

.env (14) 404 (13) add (17) Aliyun (19) Apache (13) Array (19) browser (14) Cache (13) CentOS (23) chrome (18) Client (11) command line (13) composer (42) composer.json (22) composer install (13) composer update (14) console (14) Container (25) curl (15) Database (11) database migration (16) delete (32) Docker (31) Dockerfile (15) ECS (12) environment variable (20) error (24) escape (12) Failed (13) file (16) filter (20) fopen (11) FORMAT (12) function (13) Git (27) GitHub (16) Gitlab (15) Go (34) Go 1.26 (12) GraphQL (24) GraphQL API (14) hosts (11) http (21) https (20) Installation (13) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (36) Laravel 6 (56) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (15) Memory (11) Migrate (13) Migration (11) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (45) Node.js (12) normalize.css (29) OKX (15) PHP (63) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (25) postman (18) Query (17) queue (16) Rancher (24) Redis (38) Refactoring (12) require (12) response (13) RESTful (27) RESTful API (23) rules (12) setting (12) Shell (13) Shopify (19) Shopify CLI (12) SQL (24) String (15) TortoiseGit (15) Ubuntu (35) update (20) VPN (13) Windows 10 (46) WireGuard (22) WordPress (48) Wstunnel (11) Yii (40) Yii 2 (70) Yii 2.0 (51)

June 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930