Re: Foring a file download *and* page reload
| From: | Marek Kilimajer | Date: | Fri, 29 Aug 2003 17:28:19 +0000 |
| Subject: | Re: Foring a file download *and* page reload | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161175@lists.php.net to get a copy of this message | ||
Curt Zirzow wrote:
But because explorer does not support multipart/mixed and it is still the major browser (thought not for long ;), do it this way. Output header('Refresh: 0; url=download.zip'); first and then load the html page with new data blocks.... (suggested by Marek Kilimajer) <? header("Content-Type: multipart/mixed; boundary=\"-Boundary-12399\"");This will only work if the browser supports multipart/mixed. And I don't think any browser supports this. I bet any browser except explorer ;)