Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
October 29, 2008, 9:52 pm
rate this thread
Whenever I get that page, I get the following error:
Internet Explorer cannot download download2.php from www.frostjedi.com.
Internet Explorer was not able to open this Internet site. The
requested site is either unavailable or cannot be found. Please try
Here's the source code to download2.php:
header('Content-Disposition: attachment; filename="emails.csv"');
If session_start() is commented out, it works just fine. I've
narrowed the problem to a particular header that's being transmitted.
Namely, this one:
header('Cache-Control: no-store, no-cache, must-revalidate, post-
If you replace session_start() with that, you'll get the same error.
The only thing is... I'm not sure why that header is being added. I
can fix it by adding header('Cache-control: private');, but I'd still
like to know why it's being added in the first place.
- » bollhy"system" function output displays twice last line
- — Next thread in » PHP Scripting Forum