Home > Download >  Library download

  • A relatively complete mysql operation class,link to the database,executable query, add, modify, delete and other sql statements,Query all databases in the mysql server,##Query all table names in the database,Construct array subscripts, loop out all table names in the database,Query the number of fields and field information.

    Database operation class15982017-03-28
  • Aphp-socket sending mail class,The method of SMTP sending mail based on socket, the example analyzes the principles and techniques of php using socket to realize SMTP sending mail, which has certain reference For reference value, friends in need can refer to it.

    Mail class library45912017-03-27
  • Introductionphp recursive json class code,parse the main function,parse the index array, Parse numeric arrays, Check whether an array is strictly numeric indexed. Friends who need it can refer to it. If friends have better ideas, they can send them to us for learning and communication.

    Other libraries14322017-03-27
  • Introducing an example of the PHP tree structure data access class, is used to quickly access tree structure data, The parameter must be a standard two-dimensional array, including the index field (id) and the field representing the tree structure (path), Initially store tree data, Sort the two-dimensional array in ascending or descending order according to the specified key name.

    Other libraries11872017-03-27
  • A complete Session class integrates the most basic attribute values ​​​​of Session. Among them, opening, closing and cleaning are in line with PHP programming specifications, which is also a good habit. A small note, if the website does not use the Session class extensively, there is basically no need to use the SESSION class.

    Other libraries18522017-03-27
  • Share aphp paginator program code,Function 1: Generate paging navigation based on the total number of pages, the current page, page grouping and url, Paging function parameter list (how many pages, current page, how many per page, link address). Function 2: According to the number of records, page columns are cleared, $page, current page; $row_num Total number of records; $pagesize: number of records per page; $url record page.

    Pagination library46292017-03-27
  • The PHP file upload class is mainly used to upload files, including pictures, videos, and word documents. In fact, it is recommended to use it to process pictures. The main reason for recommendation is that this class is very standardized, and basically all upload parameters are It can be defined in the class without modification in php.ini.

    File upload class library48502017-03-27
  • A php gets the image address in the CSS file, downloads and saves it to the local class, saves the image, and gets The url address of the css, is the directory where the image is saved, the regular format needs to be changed according to different addresses, and is saved to the local image address. ##

    Picture library17722017-03-27
  • Introducing the PHP string and byte array conversion class, Convert a String string to a byte array, Convert the byte array to String type data, Convert an int to a byte array, Read an Integer type data from the specified position in the byte array, Convert a short string to a byte array, Read a Short type data from the specified position in the byte array. ##

    String processing class50372017-03-27
  • Introduce a php top-level class, including Whether to output debugging information, Whether the user enters from the homepage, make a judgment,Debug information output, Set whether to output debugging information, Check whether to turn on debugging information, Friends who need it can download it for reference and improvement. If you have better classes, you can send them to us to learn and communicate together.

    Other libraries9592017-03-27
  • IntroductionA class for php to generate thumbnails, includingSetting variables and initialization,Generating distorted thumbnails, Generate scaled thumbnails, generate minimally cropped thumbnails, generate background filled thumbnails. ##

    Picture library13872017-03-27
  • IntroductionA PHP paging display class, is used with MYSQL database, class does not provide the function of connecting to the database, and an external database connection needs to be established . The number of records is displayed per page by default. If not set, the default value is used. Displays the current page and the total number of pages. Display page turning buttons, including home page, next page, previous page, and next page, Display jump page selection box, Display all button components at once. #

    Pagination library47682017-03-27