When attempting to download a file that has been uploaded it seems that two sets of html tags are being appended to the top of the files (can be seen in text files). Images won't open and it seems like it isn't bothering the other file types. Now images will probably never be uploaded to this site but I want it to work just incase. Any ideas on why the html tags would be getting appended to the file? The only thing I can think of is because I am using outputbuffering. Could this be the issue? My download code is as follows.... PHP: header ("Content-Length: $size");header ("Content-Type: application/force-download");header ("Content-Disposition: attachment; filename=$filename"); readfile($filePath);exit; Also I know the files are being uploaded correctly cause if I pull the file down manually off the server they are fine. Any ideas?