it's made in JavaScript, by creating an iframe loading the file, but their
downloader might use something like a php file to force download such as
?php
$filePath='/var/wwwblablah.zip';
header('Content-type: application/octet-stream');
header('Content-Disposition: attachment;
Hi
thanks for your help jean
I've used this code before. But I want a little different thing.
I need to tell something to the user before starting download.
something like Your download will begin in a moment... . So header
couldn't help me. If I try to echo anything header doesn't work!
On Tue,
On Wed, 2011-06-01 at 00:08 +0430, Ali Asghar Toraby Parizy wrote:
Hi
thanks for your help jean
I've used this code before. But I want a little different thing.
I need to tell something to the user before starting download.
something like Your download will begin in a moment... . So header
gosh, I should have read before answering for the downloader thing.
BUT you actually need javascript if you want to do it.
You create an hidden iframe somewhere on your page, you give him the url of
your file and pop it is downloaded, and you need simply to use javascript
function setInterval to
On Tue, May 31, 2011 at 8:49 PM, jean-baptiste verrey
jeanbaptiste.ver...@gmail.com wrote:
gosh, I should have read before answering for the downloader thing.
BUT you actually need javascript if you want to do it.
You create an hidden iframe somewhere on your page, you give him the url of
On Wed, 1 Jun 2011, Ali Asghar Toraby Parizy wrote:
I need to tell something to the user before starting download.
something like Your download will begin in a moment... . So header
couldn't help me. If I try to echo anything header doesn't work!
Couldn't you just do an HTML redirect?
6 matches
Mail list logo