What's this set to?
--
Jack Timmons
@_Codeacula
That looks hideous. Should you be using application/text or whatever
it actually is?
Second, why is the pragma required? HTML spec? Forgive me, I haven't
look up at headers in forever.
Here's exactly what I have in my download headers. It works for
everything I use (IE, Opera, Safari, Chrome, etc):
header("Content-Type: application/csv;");
header('Content-Disposition: attachment; filename="cards.csv"');
Switch CSV as applicable.
--
Jack Timmons
@_Codeacula
Remove the @'s now. Are you getting any errors?
Sorry, but I'm just picking out baddies as I scan. I've gotten 80 bugs
in the past three days on a new system, and I'm trying to blaze
through them ;)
--
Jack Timmons
@_Codeacula
You've lost me. I did notice a comment about IE files on PHP.net
somewhere, I think if you google the application/force_download thing
you'll find it.
It seems to me there's some sort of voodoo going on here.
Is it because your content-length thing is messed up?
Should be:
header("Content-Length: ".@filesize(LOCAL_PATH."feed/Images/blah
blahblah/".$filename));
Or something like that.
--
Jack Timmons
@_Codeacula
Jack Timmons
@_Codeacula
--
This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.
For information or project assistance please visit :
http://www.360psg.com
You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professi...@googlegroups.com
To unsubscribe from this group, send email to Professional-P...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP
--