Ok, here is my problem. I am using
$site_data = file_get_contents($target);
After the code gets the file, it pulls a list of words for the MySQL db.
Field Type
word_0 tinyblob
word_1 tinyblob
word_2 tinyblob
The code then runs a function
$word = trim($word);
str_ireplace($word, $word, $data, $found);
return $found;
This is to get a count of how many times this word is in the data. The problem I am running into is with Foreign Characters. If the word/data is in English it works just like I want it to. The moment it opens a file with anything else even though I know the words are in that file it will not find them. I know the code works, but I am missing something.
Thank you for your help.