项目作者: jodacame

项目描述 :
Allow basic compatilibity with multibytes functions
高级语言: PHP
项目地址: git://github.com/jodacame/Codeigniter-Helper-Multibytes-Compatibility.git
创建时间: 2018-02-11T13:59:35Z
项目社区:https://github.com/jodacame/Codeigniter-Helper-Multibytes-Compatibility

开源协议:MIT License

下载


Codeigniter Helper Multibytes Compatibilty

It’s a simple helper for keep working your code if the server don’t have installed multibyte functions library

The Problem

  1. A PHP Error was encountered
  2. Severity: Error
  3. Message: Call to undefined function mb_XXXXXX()

The Basic Solution

  • Copy multibytes_helper.php into the application/helpers directory

  • Edit application/config/autoload.php file and load multibytes helper

Supported Functions

  • mb_strtolower
  • mb_strtoupper
  • mb_strlen
  • mb_substr
  • mb_strpos

Requirements

  • Codeigniter installed

This is a very basic solution for keep running in production your software