Jump to content

Call to a member function loadCharset() on a non-object


seco

Recommended Posts

Hi

i get error when using utf8.class.php and this is the class link

http://www.phpclasses.org/browse/file/7820.html

the error says:- Call to a member function loadCharset() on a non-object

i write the following

 

<?php

require_once("c_utf8/utf8.class.php");

$utfConverter->loadCharset("CP1256");

for( reset( $_POST);  $key = key( $_POST);  next( $_POST) ) {

if (is_string($_POST[$key])) $mypost[$key]= $utfConverter->utf8ToStr($_POST[$key]);

}   

?>

 

any help

 

thanks in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.