Try to download "Sin Autor - No es fácil" or any file that has áéíóúñ in author's name or title's name. And you'll get that error.
This is the part of the code:
Code: Select all
echo "<a class='ico' href='./files/".$msg->author. " - ". $msg->title. ".doc"."'><center><img src='./images/doc.gif'></center></a>";By the way, special characters I solved them with htmlentities();