Home > Download >  Library download

  • Share a PHP class to prevent SQL injection, parameter checking and writing to logs, SQL injection logs.

    Security class library89342017-05-16
  • Share a picture using PHP to generate thumbnails. Make sure your PHP server has the GD2 graphics library installed. Use a class to generate picture thumbnails

    Picture library19422017-05-16
  • Share a complete PHP MySQL database class, friends who need it can download it. If friends have better such libraries, they can upload them to the PHP Chinese website and learn and share them with everyone.

    Database operation class76012017-05-15
  • Share a PHP paging function class, obtain the maximum number per page, calculate the total number, display the number per page, determine the current page, and calculate the paging function.

    Other libraries13012017-05-15
  • Share a pdo database operation class in php to enable various debugging modes to meet different needs.

    Database operation class55042017-05-13
  • Share a php function class for image processing. There are two ways to generate thumbnails: one is to directly compress the image proportionally, and the other is to crop and then compress the image. The difference between equal-case compression and cropping compression is: Example compression: It can ensure that the width and length ratio of the picture is reasonable and the picture is complete. However, actual size is not guaranteed to meet requirements. Cropping and compression: It can ensure that the width and length ratio of the picture is reasonable, and the actual size can also be guaranteed. However, the integrity of the picture cannot be guaranteed.

    Picture library18622017-05-13
  • Share a PHP class that performs basic operations on cookies. First, decrypt the encrypted Cookie, get the value of the specified Cookie, and then set the Cookie.

    Other libraries11012017-05-13
  • Introducing a PHP class that implements sending emails, including email delimiter, port, recipient address, email title and content.

    Mail class library54242017-05-12
  • Share a PHP class that implements base64 encoding and decoding to encode and decode base64. Friends who need it can download it.

    Security class library47052017-05-12
  • Share a code class for PHP to generate image thumbnails, including source address, new path, thumbnail, retain source file, whether to overwrite the source file, and new directory after processing.

    Picture library16982017-05-11
  • Share a PHP code class to generate image thumbnails, set initialization variables, generate thumbnails proportionally, and generate background thumbnails.

    Picture library17072017-05-11
  • Share a PHP class for backing up MySQL. Friends who need it can download it for reference and modification.

    Database operation class15912017-05-10