Home > Download >  Library download

  • IntroductionA PHP class that intercepts strings between specified strings. Friends who need it can download and learn to use it by themselves. If friends have better classes, they can upload them and share them with us.

    String processing class51102017-03-31
  • Analyzed the difference between static classes and static variable usage classes in php, Create the object $object = new Class(), and then use "->" to call: $object->attribute/function, the premise is The variable/method is accessible. Directly call the class method: class::attribute/function, whether it is static or non-static , static static: declare the class member or method as static, and it does not need to be instantiated For direct access to a class, static members (except static methods) cannot be accessed through an object. Static members belong to the class and do not belong to any object instance, but object instances of the class can be shared.

    Other libraries13112017-03-31
  • A PHP class that implements the conversion between HTML entity numbers and non-ASCII strings. HTML entity symbols are used to implement reserved characters or express some common characters that cannot be input by the keyboard. The default character set in most browsers is ISO-8859-1. HTML entity symbols are often used in web design.

    String processing class45932017-03-31
  • A class in php that converts strings into HTML entity references. Converts non-ASCII strings into HTML entities. To be encoded String, Returns the HTML entity reference .

    String processing class52152017-03-31
  • Introducing a safe string class of php. When writing the value of the cookie, I looked at the cookie files of Google and Baidu. The value inside is a long string of characters. .So I wrote a safe string class to generate safe strings.

    String processing class51962017-03-31
  • php dynamically generates objects based on string class names A common requirement is to obtain the name of a class from other places and generate an object of that class. You can define a static method for the target class to generate an instance of the object, and then call the method through call_user_func or call_user_func_array. Of course, it can also be implemented through methods such as factory classes.

    String processing class56162017-03-31
  • Introducing a php method of calling a class using a string name. Friends in need can download it for reference, or modify it and improve it into their own class. If your friends have better codes, you can send them to share with us.

    String processing class50982017-03-31
  • Introducing a PHP text processing class, Open the file in the specified mode and lock it, Return the file content as a string according to the specified size, if not specified, return all,Return as a one-dimensional array. Each line string of the file is used as the value of the array. At the same time, the number of file lines is obtained. Return the file content as a two-dimensional array.

    File processing library48572017-03-30
  • Share an efficient PHP unlimited classification, uses PHP arrays to achieve unlimited classification, high efficiency, no database, no recursion. Function: Construct a sub-level based on the parent level, Add a new category, When data.php does not exist, Generate an array format of infinite categories and write it into a PHP file. When data.php exists, sort the array. Loop to generate an array of infinite categories. Format and write to PHP file. ##

    Category library57072017-03-30
  • Share an enhanced version of PHP tree classification, including: The 2-dimensional array required to generate the tree structure, The modification symbols required to generate the tree structure, which can be replaced Picture, get the parent and child arrays, get the current position array, get the tree structure, format array.

    Category library51762017-03-30
  • A#php example of multiple unlimited classification libraries, including the code to create a complete database and table, connect the database table to display the unlimited classification library, friends who need it can directly use it for learning reference , I hope it will be helpful to my friends.

    Category library51582017-03-30
  • Introducing another tool class of php that is commonly used in development. I hope it will be helpful to friends’ learning and practice. Friends who need it can modify it by themselves, system load, log file writing, memory usage ,Browser variable output and other contents are available for reference.

    Other libraries11482017-03-30