Technical Notes

Centos, Ubuntu, Windows, Luinx system use
php Extract HTML articles in the image address class-Small seven notes

php Extract image addresses from HTML articles class

php Extract image addresses from HTML articles class
php FTP operation class-Small Seven Notes

php FTP operation class

php FTP operation class
2 years ago
023213
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 ...
PHP input text to prevent attacks input xss clear - Xiao Qi Notes

PHP input text prevent attack input xss clear

PHP input text prevent attack input xss clear
2 years ago
020511
PHP URL shortening algorithm code-Small Seven Notes

PHP URL shortening algorithm code

PHP URL shortening algorithm code
2 years ago
02045
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 Get Remote Image Display (Remote 403) - Xiaoqi Notes

PHP Get Remote Image Display (Remote 403)

PHP Get Remote Image Display (Remote 403)
2 years ago
020314
PHP Curl Class Library - Seven Notes

PHP Curl Class Library

PHP Curl Class Library
PHP operation directory or file common methods-Small seven notes

PHP common methods to manipulate directories or files

1, convert \ to / /** * Convert \ to / * * * @param string $path path * @return string path */ function dir_path($path) { $path = str_replace('\\', '/', $path); if(substr($path, -1) ! = '/'...
PHP common string processing methods-Small seven notes

PHP common string processing methods

1, realize the search engine to search results hit the keyword marked red <?php /** * Split the string into an array * @param $search search keyword * @return array */ function splitString(string $search):array { // positive ...
2 years ago
01916
PHP xml data creation and reading-Small Seven Notes

PHP xml data creation and reading

PHP xml data creation and reading
2 years ago
018915
php get MAC address-Small Seven Notes

php get MAC address

php get MAC address