Hi:
My question is this.I have a search, what search the name the file and your content. With files .txt any problem and with files .doc very problem. The search , 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 I'am sorry but my english is very poor.