Выдаю юзеру через php на скачивание xls-файл PHP: $file = $_SERVER["DOCUMENT_ROOT"].'/get_price/price3.xls'; header("Connection: Keep-Alive"); header("Content-Disposition: attachment; filename=\"price.xls\""); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0,pre-check=0"); header("Pragma: public"); header("Content-Type:application/vnd.ms-excel"); echo(file_get_contents($file)); В итоге при открытии в excel'е открывается какая-то хрень из кучи символов, но содержащая строки из оригинального файла. Как с этим бороться? http://remkuzov.decadora.ru/get_price/ тут результат выдачи.