Technical Notes

Centos, Ubuntu, Windows, Luinx system use
PHP commonly used variables string checksum rules-Small seven notes

PHP common variable string checksum rules

1, check cell phone number /** * Determine whether the phone format is correct * @param $mobile */ function is_mobile($mobile) { return preg_match('/1[3456789]{1}\d{9}$/',$mobile); } /** * Verify the format of the cell phone * @param $utfstr...
php PDO database class library - Xiaoqi notes
PHP Simple Generation of Random Numbers, Strings - Xiaoqi Notes

PHP Simple Generation of Random Numbers, Strings

1. Generate random string /** * Generate random string * * @param int $length Output length * @param string $chars Optional , default is 0123456789 * @return string string */ function random( $length, $chars ...
Powerful php file upload class-Small seven notes

Powerful php file upload class

Powerful php file upload class
2 years ago
023514
Commonly used broadband speed measurement tools-Small Seven Notes

Commonly used broadband speed measurement tools

Network speed test tool provides network speed test, network quality test, broadband speed test, Wi-Fi speed test, 5G speed test, IPv6 speed test, bandwidth detection, router speed test, gateway speed test, broadband speed boost, broadband upgrade, network acceleration, intranet speed test, private network speed test, video test, game speed test...
PHP image to add image or text watermark - Seven Notes

PHP Image add image or text watermark

PHP Image add image or text watermark
Cell phone type access judgment-Small Seven Notes

Cell phone type access judgment

1. determine if it is mobile access ** * determine if it is mobile access * @return boolean */ function cmf_is_mobile() { if (PHP_SAPI ! = 'cli') { static $cmf_is_mobile; if (isset($cmf_is_mobile)) return $cmf...
2 years ago
02545
php Chinese to Pinyin class - Xiaoqi Notes

php Chinese to Pinyin Class

php Chinese to Pinyin Class
2 years ago
01088
PHP to get ip, browser, operating system information-Small seven notes

PHP to get ip, browser, OS information

Get ip, OS, browser information
FFmpeg common practical commands-Small Seven Notes

FFmpeg common utility commands

FFmpeg is a powerful command line audio/video tool that can take care of transcoding, stream mixing, embedded subtitling, editing, and so on. Installation This section is for Windows users. Go to the compiled file (gyan.dev) of the Windows version suggested by the FFmpeg website ...
Web Third-Party Embedded Page Speed Optimization - Xiaoqi Notes

Web Third-Party Embedded Page Speed Optimization

Third-party content may affect the performance of our page in a number of ways. For example, it may block rendering, compete for network bandwidth with other resources on our page, and embedding of third-party web pages may cause the layout to shift when loading, which in turn affects our page's Core Web...
PHP Cross Domain Detection - Seven Notes

PHP Cross Domain Detection

PHP Cross Domain Detection