snswm's avatar - Seven Notes
Guangzhou, Guangdong Provincejanitors
The guy was lazy and didn't write anything...
PHP DateTime common methods-Small seven notes

PHP DateTime common methods

Instantiation of an object preceded by \ means that the native class is used in the namespace, if the namespace is not used, you can remove the preceding \ 1. Output the current time $datetime = new \DateTime; print_r($datetime->format('Y-m-d H:i...
PHP translation class library [Youdao, Baidu] - Xiaoqi Notes

PHP Translation Class Library [Youtube, Baidu

PHP Translation Class Library [Youtube, Baidu
Solve Ubuntu troubleshooting disk read/write busy - Xiaoqi Notes

Troubleshooting Ubuntu Troubleshooting Disk Read/Write Busy

Ubuntu Troubleshooting Disk Read/Write Busy Problems There are several ways to troubleshoot disk read/write problems: iotop: a tool to view disk I/O usage. vmstat: View information about system virtual memory, processes, CPU activity, etc. Install iotop (if not already installed): sudo apt-get insta...
2 years ago
03175
PHP to remove the p tag in html-Small seven notes

PHP removes p tags from html

PHP removes p tags from html
How to Track SEO Results - Seven Notes

How to Track SEO Results

How do you measure and track your results? The most obvious answer is to track traffic from natural search. If you're using Google Analytics, a quick look at natural traffic can be found by going to: Acquisition > All Traffic > Channels ...
2 years ago
03367
PHP to determine whether the 5 methods of empty - Seven Notes

5 Ways PHP Determines Whether or Not It's Null

1. isset function: to determine whether the variable is initialized Description: it does not determine whether the variable is empty, it can be used to determine whether the elements of the array have been defined. Note: When using isset to determine whether an array element has been initialized, it is more efficient than array_key_exists ...
2 years ago
032011
PHP Get Remote Image Display (Remote 403) - Xiaoqi Notes

PHP Get Remote Image Display (Remote 403)

PHP Get Remote Image Display (Remote 403)
PHP Objects, Arrays, Strings, Escaping, etc.-Small Seven Notes

PHP objects, arrays, strings, escaping, etc.

1、Convert array to object /** * Convert array to object * @param array $data array * @return Return object (object) */ function array2object($array) { if (is_array($array)) { $obj = new StdClass(); ...
PHP xml data creation and reading-Small Seven Notes

PHP xml data creation and reading

PHP xml data creation and reading
WordPress using Redis cache (Redis Object Cache plugin) to optimize the performance of access - Xiaoqi Notes

WordPress using Redis cache (Redis Object Cache plugin) to optimize access performance

Redis Object Cache A persistent object caching backend powered by Redis. Supports Predis, PhpRedis (PECL), Relay, replication, sentinels, clustering, and WP-CLI. Rewritten for raw performance 100% WordPress API compatible...
PHP Remove all html code in a string (formatting code html) - Xiaoqi Notes

PHP Remove all html code from string (formatting code html)

PHP Remove all html code from string (formatting code html)
What is Search Intent in SEO? How to Optimize - Seven Notes

What is Search Intent in SEO? How to Optimize

Search intent is the reason behind a search term. In other words, it's what users are really looking for when they use search engines like Google. Why is search intent important for SEO optimization? Google prioritizes the relevance of search results. Therefore, if you want to be optimized on Goo...