Re: How to simultaneously send HTML *and* start download?

From: Date: Tue, 21 May 2002 20:09:37 +0000
Subject: Re: How to simultaneously send HTML *and* start download?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-98647@lists.php.net to get a copy of this message
On Tue, 21 May 2002 20:57:46 +0100, 1lt John W. Holmes wrote: > Use PHP to write a META-REFRESH to the file that's going to be downloaded, > or a php file that controls the download. Basically, you show them an HTML > page that says the download will begin, the META tag refreshes after X > seconds to the actual file, and the download box pops up. Oh, okay. I was obviously overlooking the simple solution. But, just out of curiousity, does that mean that you *can't* do what I was at first trying to do - that is use PHP to send a file and some HTML as some kind of multipart content to a browser? -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step before failure (Homer Simpson) ======================================================================

« previous php.general (#98647) next »