Home > Download >  Library download

  • This php file operation class has relatively complete functions. is relatively advanced. It can not only create, write, delete, modify, copy, move, and create directories, but also Deleting a directory can also implement operations such as moving the directory, copying, and replacing.

    Other libraries13382017-03-24
  • This class is a file operation class, which implements functions such as creating, writing, deleting, modifying, copying, moving, creating directories, and deleting directories; Listing files in the directory and other functions , don’t forget to add "/" after the path, Write the content content to the name file under the path path, bool is the writing option, when the value is 1 ,Then continue writing under the original content of the file. When the value is 2, the file after writing only has this content content.

    Other libraries9992017-03-24
  • Object-oriented and file operation classes in php can view files, delete files, and upload files. Contains the constructor, opens the working file directory, adds files to the current folder, and checks whether there are files with the same name, will The temporary file is copied to the current directory .

    File upload class library48202017-03-24
  • How to use the Memcache operation class in php, Delete the cached key, Refresh the cache but do not release the memory space, Enable automatic compression of large values, is used to obtain the online/offline status of a server, cache statistics of all servers in the server pool, etc. .

    caching library49862017-03-24
  • IntroductionMysqli class of php cache data function, If __autoload() is used in the framework, there is no need to load the file. Friends who need it can learn and refer to it. If you have Better solutions can be brought over to learn and share with us.

    Database operation class18012017-03-24
  • A commonly used php mysql database connection class, This is a relatively basic thing. You can create a class through the constructor and automatically connect to the mysql server. Just set $name, $pass, $ The values ​​of the three variables in the table are just fine.

    Database operation class15722017-03-24
  • Introducing a php database operation class, which can be used for three databases: mysql, mssql, and pg. It can be easily changed as long as you make any modifications. The type of database is , which contains an index of the data list and a relatively comprehensive annotation for the convenience of friends for study and reference. If your friends have better ones of this type, you can send them for learning and exchange.

    Database operation class14782017-03-24
  • Introducing a php redis cache class, cache file path, including file name, destructor, check whether the cache directory is valid, default assignment, check Whether the cache is valid, After loading the cache, terminate the execution of the original page program, if the cache is invalid, run the original page program to generate a cache, Turn on the browser cache to obtain the page content at the end of the page .

    caching library76362017-03-24
  • If the number of visits is large, it will put a huge burden on the database, so it is very necessary to do a good job of PHP data cache (caching) for content that changes infrequently. For general variables, change the variable into the format of PHP language and write it to the file. When using, just include the file, which is equivalent to loading the cache; For array-type variables, convert the array into a string that defines the array in the PHP language, and write it to the file. It only takes as long as include, which is equivalent to loading the cache.

    caching library58012017-03-24
  • Introducing a php package Memcache queue cache class, memcache client connection, Whether the queue can be updated, Cache queue life cycle time,When the client disconnects, execution is allowed to continue,Cancel the upper limit of script execution delay,When an element is taken out, the value at the head of the queue is changed. When an element is added, the value at the end of the queue is changed. etc.

    caching library46222017-03-24
  • A variety of caching technologies may be used in the project, such as memcacheFile caching, etc. If these caching mechanisms can be unified into an interface and open to the outside world, users can call these caching classes at will without caring about the internal implementation of the cache. To implement this approach, a cache proxy class is needed to completely proxy cache operations. Users only need to use this proxy class to perform various cache operations.

    caching library45262017-03-24
  • Share an article about the usage of Queue for caching Memcache in PHP. Memcache is a caching technology that can improve the performance of the program and reduce the pressure on the server. is currently used Many websites use it to improve the access speed of the website, especially for some large websites that require frequent access to the database. The effect of improving the access speed is very significant .

    caching library14172017-03-24