Forum Moderators: coopster

Message Too Old, No Replies

PHP function fails on new server mb_convert_encoding

         

kenfused

9:32 pm on Jul 6, 2005 (gmt 0)

10+ Year Member



Hello,
On my new server, an old script of mine is failing because it says there is a call to an undefined function:

mb_convert_endcoding

I thought this was a standard function on PHP >4.06

According to my phpinfo.php file, I am running PHP 4.3.10

Does this function have to be turned ON with my new server?

Thanks

jatar_k

9:38 pm on Jul 6, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



it is misspelled ;)

seems that it should be native if it is spelled properly in your code

kenfused

9:45 pm on Jul 6, 2005 (gmt 0)

10+ Year Member



... actually I mispelled it in the POST above only... my code is ok =)

ANy ideas?

I ALSO tried a few other MultiByte functions to test it out, but all of them are: "Fatal error: Call to undefined function: mb_detect_order() ..."

Can't get any mb_ functions to work

[edited by: kenfused at 9:51 pm (utc) on July 6, 2005]

jatar_k

9:48 pm on Jul 6, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



[php.net...]

mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option. See the Install section for details.

kenfused

9:55 pm on Jul 6, 2005 (gmt 0)

10+ Year Member



Thanks!
I'll talk to my webhost!

Darn you guys are fast! THANKS