saravananr Posted April 17, 2008 Share Posted April 17, 2008 Hi All, I am using PHP 5.2.5v mb_detect_encoding showing error undefined function ? is this method only supports upto PHP 4 >= 4.0.6 and PHP 5 ? can u suggest me to fix this issue. Thanks Saravanan.R Link to comment https://forums.phpfreaks.com/topic/101497-mb_detect_encoding-error-in-php-525v/ Share on other sites More sharing options...
awpti Posted April 17, 2008 Share Posted April 17, 2008 Is mbstring compiled into PHP? (or loaded as an extension)? Link to comment https://forums.phpfreaks.com/topic/101497-mb_detect_encoding-error-in-php-525v/#findComment-519185 Share on other sites More sharing options...
haku Posted April 17, 2008 Share Posted April 17, 2008 That error message means that it isnt. Saravananr - you have to go into your php.ini and enable the multibyte string functions. If you want to confirm for sure that they aren't already enabled, create a new file, then insert this code into it: <?php phpinfo(); ?> Then run that code on your server. scroll down until you find the section labeled mbstring, and see if it is enabled or not. But I'm 99% sure it isnt. Link to comment https://forums.phpfreaks.com/topic/101497-mb_detect_encoding-error-in-php-525v/#findComment-519231 Share on other sites More sharing options...
saravananr Posted April 17, 2008 Author Share Posted April 17, 2008 thanks haku. I really forgot to enable the extension. Thanks once again Link to comment https://forums.phpfreaks.com/topic/101497-mb_detect_encoding-error-in-php-525v/#findComment-519282 Share on other sites More sharing options...
haku Posted April 17, 2008 Share Posted April 17, 2008 No worries. What language of site are you working on? Link to comment https://forums.phpfreaks.com/topic/101497-mb_detect_encoding-error-in-php-525v/#findComment-519307 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.