Home > Download >  Library download

  • Share a standard PHP AES encryption algorithm class, including mcrypt_get_block_size('rijndael-128', 'ecb');. If it is easier to make a mistake without understanding the principle, you can check the encryption you need through the mcrypt_list_algorithms function. Algorithm ID.

    Encryption and decryption class library49262017-05-25
  • Other libraries15022017-05-24
  • Introducing a common PHP character processing operation class, a static common class, which handles built-in parameters of random numbers, encrypts and decrypts strings, matches mobile phone numbers with regular patterns, verifies ID cards, and processes string information.

    String processing class54142017-05-24
  • Share a PHP upload, generate thumbnails, add watermark tools, set the attachment storage location, thumbnail storage path, limit the upload size, the current time is the name of the image, and upload it to the database.

    Picture library22272017-05-24
  • Share a cache class of php redis server, Check whether the cache directory is valid, the default value is assigned, is cached by the browser Get the page content by 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.

    Other libraries16372017-05-24
  • Share a powerful PHP encryption and decryption class. The construction parameter is the key and performs some encryption and decryption operations on strings.

    Encryption and decryption class library53502017-05-23
  • Introducing a php encryption and decryption utility class, If you want to retrieve the original password for the user when he or she forgets it, then this class is a useful tool. Passwords registered by users are generally not saved in plain text and must be encrypted first. The simplest is of course to call the md5 function in the database sql statement to encrypt the user password. Here we introduce an encryption and decryption class. This class is a useful tool if you want to retrieve a user's original password when he or she forgets it. Of course, this encryption and decryption class can also be used for other purposes.

    Encryption and decryption class library45242017-05-23
  • Introducing a relatively complete php encryption and decryption function class. Encryption process: Read the source file, encrypt it with base64_encode, and use the 52 uppercase and lowercase letters obtained by shuffling as the secret key for replacement $c=strtr (ciphertext, corresponding to the letter to be replaced, the letter to be replaced); Link the two secret keys and the ciphertext to form the main content of the file to be encrypted Finally, according to the template format written in advance, combine the base64_decode, strtr, and substr commands respectively, and put the combined ciphertext into the template and base64_encode the encryption here, Write the file to be encrypted. Decryption process: Read the file to be decrypted, intercept the string starting with eval, and then intercept hierarchically to obtain the ciphertext generated in the encryption template base64_decode decryption to obtain the decrypted plaintext Intercept the obtained name text, intercept the characters of the secret key ciphertext formed by the source file, and execute the intercepted characters through eval to assign the ciphertext to the predefined variable ($O0O000) By executing base64_decode(strtr(substr($O0O000,52*2),substr($O0O000,52,52),substr($O0O000,0,52))); Decrypt and write the decrypted content (plain text) to the file.

    Encryption and decryption class library44642017-05-23
  • Share a PHP encryption and decryption processing class. Friends who need it can download it for reference.

    Encryption and decryption class library36542017-05-23
  • Share aphp class that converts Chinese characters into Pinyin to get the first letter. Through this class, you can not only convert Chinese characters into Pinyin, but also get the first letter of Chinese Pinyin. Here needs to be utf-8 encoded to be feasible.

    Other libraries59132017-05-22
  • Introducing a PHP class that supports the conversion of Chinese characters into Pinyin for rare characters, and supports the conversion of Chinese characters into Pinyin for rare characters. Friends who need it can download it for reference. Friends who have better classes can upload them and share them with us.

    Other libraries24162017-05-22
  • Introducing a PHP class that converts Chinese characters to pinyin. It can obtain and output all the pinyin of Chinese characters and the first letter of Chinese characters. Friends who need it can download it for reference.

    Other libraries40512017-05-22