Welcome Guest, Not a member yet? Register   Sign In
force_download cutting off last few lines
#1

[eluser]dmorin[/eluser]
I'm creating a dynamic ics file and using the force_download helper to download it, however, the force_download helper is cutting off the last few lines. If I just echo the content directly to the screen, it's all there so it is definitely the download portion.

The only idea I have had is that it might have to do with the multi-byte characters that are included in the string, however, I'm overloading the strlen php function with mb_strlen and I even tried substituting it with mb_strlen in the download helper and that didn't work. I also tried manually adding in an encoding type of UTF-8 to the header and still nothing.

I saw one other post where someone else had this issue, but they didn't seem to find a solution. If anyone has any ideas, please let me know. Thanks.


Messages In This Thread
force_download cutting off last few lines - by El Forum - 04-10-2008, 08:02 PM
force_download cutting off last few lines - by El Forum - 04-11-2008, 07:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB