Re: Foring a file download *and* page reload

From: Date: Mon, 01 Sep 2003 00:02:15 +0000
Subject: Re: Foring a file download *and* page reload
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-161328@lists.php.net to get a copy of this message
Marek Kilimajer 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. Sorry if the solution is obvious but I can't understand what you mean by using a refresh header. Where and when should I use the header? Can you give a short example? Thanks, Jean-Christian Imbeault

« previous php.general (#161328) next »