PHP Classes

Thanks

Recommend this page to a friend!

      Automatic Site Keyword Generator  >  All threads  >  Thanks  >  (Un) Subscribe thread alerts  
Subject:Thanks
Summary:nice script
Messages:3
Author:Atif Ghaffar
Date:2010-06-30 14:29:59
Update:2010-06-30 15:29:45
 

  1. Thanks   Reply   Report abuse  
Picture of Atif Ghaffar Atif Ghaffar - 2010-06-30 14:29:59
Thankyou for sharing.
Works fine.

Just one question.
Are the mb_* functions necessary?
I had to work around them as our production php was not compiled with them.

best regards

  2. Re: Thanks   Reply   Report abuse  
Picture of Peter Kahl Peter Kahl - 2010-06-30 15:11:32 - In reply to message 1 from Atif Ghaffar
The mb_* function are necessary only if you use multibyte characters (strings). From what you wrote, it appears that your modification was successful.

  3. Re: Thanks   Reply   Report abuse  
Picture of Atif Ghaffar Atif Ghaffar - 2010-06-30 15:29:45 - In reply to message 2 from Peter Kahl
Here are my changes.

Perhaps you may want to add them just before the class declation.
best regards

if (!function_exists("mb_internal_encoding")) {
function mb_internal_encoding(){
return true;
}
}
if (!function_exists("mb_strtolower")) {
function mb_strtolower($str){
return strtolower($str);
}
}
if (!function_exists("mb_strlen")) {
function mb_strlen($str){
return strlen($str);
}
}