nc3b Posted January 25, 2007 Share Posted January 25, 2007 I try to send a file from the server to the client, using [code]header("Content-type: text/x-csv");header("Content-Disposition: attachment; filename=blabla);header("Pragma: no-cache");header("Expires: 0");[/code]It is a csv file. The problem is, it inserts three "junk" :-[ characters, EE EF BF as the first characters, which look like  :(. I understand this is "Byte ordering mark". Very well. How do I get it to vanish? ??? Please help Link to comment https://forums.phpfreaks.com/topic/35698-php-send-junk/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.