hi¡
I have a search engine, what search the name the file and content. With files .txt any problems and with files .doc many problems. The search engine, takes all simbols and the search is bad.
This is my code:
if ($fp = fopen($archivo, "rb")) {
$enarchivo=addslashes(fread($fp, filesize($archivo)));
fclose($fp);
}
$enarchivo=stripslashes($enarchivo); //????
and take the search envelope $enarchivo.
How eliminate the simbols?
Thanks and sorry but my english is very bad.