I have a page that prompts a user to Save a file called entries_mm_import.txt. Basically the code listed below prompts the user to save a txt file which contains the contents of the variable $createMMFile.
<?
$path = '';
$get = 'entries_mm_import.txt';
header ("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header ("Content-Type: application/octet-stream");
header ("Content-Length: " . filesize($path.$get));
header ("Content-Disposition: attachment; filename=$get");
//SOME DATABASE STUFF WHICH CREATES THE VARIABLE $createMMFile
echo $createMMFile;
?>
My problem is it works perfect in Internet Explorer but in FireFox it only writes the first 3699 characters to the file entries_mm_import.txt. Is there a character limit (or size limit) in FireFox? Has anyone ever run into a similar problem as this?