Home > Download >  Library download

  • What is introduced here is a shared PHP paging class, Parameters: sql statement, number of records per page, transfer link (such as "index.php?" or "index.php?sort =1&", etc.), The output url is index.php?page=23 or index.php?type=1&page=2 ( means page 23 or page Page 2 of Category 1).

    Pagination library43702017-03-27
  • Introducing a PHP paging class that connects to the database. A table is also required for testing. At least the fields announceID, announceContent, Get the value of the current page, which page it is, it must be a numeric integer, it must be >0, it must be <=$pageNUM, The first page, the last page page, two pages on the left and right of the current page, a total of five pages.

    Pagination library49442017-03-27
  • phpA paging class with relatively high functionality,This class is suitable for paging with database queries, and array paging, including page number index bar style, paging information style, set database type paging, Set array type paging, Database type calculates the total number of rows, Array type calculates the total number of rows, Calculate the total number of pages, calculate the current page number, set the page number index bar. #

    Pagination library46012017-03-27
  • Mainly introduces relevant information on detailed examples of php login timeout detection function(take thinkphp5.0 version as an example),php login timeout problem, when the user exceeds a certain Automatically log out when there is no operation on the page. The principle is to judge the access through js!

    Security class library49902017-03-27
  • A php-DataBase class, including database configuration and database operations. Execute the SQL query statement, Record set, if there is no record, return an empty array, If SQL is SELECT, return the record set, if SQL is INSERT returns the new record ID. If the SQL is UPDATE or DELETE, returns the number of affected rows .

    Database operation class12462017-03-25
  • PHP object database operation class, Construct a database operation class to encapsulate all database operations, can be extended to facilitate the use of background management programs,Retrieve the number of database records, Return the number of database table fields and the set of table field names,Finally Don’t forget to close the data path connection##.

    Database operation class13922017-03-25
  • IntroductionA static file PHP generation class, In PHP website development, for the needs of website promotion and SEO, it is necessary to perform full-site or partial static processing of the website, The simple understanding of PHP static is to make the website-generated pages displayed in front of visitors in the form of static HTML. PHP static is divided into pure static and pseudo-static. The difference between the two lies in the different processing mechanisms of PHP generating static pages. .

    Other libraries18652017-03-25
  • Introducing a php Chinese directory operation class, can create directories, delete directories, create files, delete files, move folders, copy folders, etc. You can Functions that can be operated. Friends in need can download and study the reference revision.

    Other libraries13802017-03-25
  • This section introduces a php tree menu class. The principle is simple. Those who have studied data structures will understand what it means at a glance.Data structures are the basis, such as linked lists, binary trees, hashes, sorting algorithms, etc. You may not be able to use them when writing PHP code, but mastering them will allow you to understand the operating principles of the program. Have a deeper understanding.

    Category library52942017-03-25
  • PHP counts the total number of files and lines of code in the directory, executes the statistics of files in the directory When skipping files: The matching rules only start from the file name, and the matching rules are limited to the beginning. Skip the comment lines in the file: The matching rules are only matched from the head of the comment paragraph. If // and *, lines starting with # and /* and blank lines appear, was skipped. Therefore, sweaty comments like /* must be preceded by an * sign at the beginning of each line, otherwise such comments cannot be matched. Directory filtering: The matching rule is to match the full name of the directory name

    File upload class library52342017-03-25
  • Aphp query ip location code class,The offset address of the first ip index,The offset address of the last ip index, In order to be compatible with versions below php5, this class does not use a destructor and automatically closes the ip library, Convert the ip to an ipv4 Internet address through ip2long, and then compress it into big-endian byte order for comparison with the ip address in the index area.

    ip library54262017-03-25
  • A simple php to merge two tables into a new table class, merge two tables into one table,and arrange them in order, Involves the traversal and sorting operation skills of arrays, which has certain practical value. Friends in need can refer to it.

    Other libraries14742017-03-25