Re: [PHP] Question on manually instantiating a file download

2001-03-27 Thread Nuno Silva
hello, you could "start from the end" :) show the nice page saying "THANKS!!" or something and this page will call the download script itself with "meta refresh=..." in the ...can't remember the meta refresh syntax right now :) hope it works, Nuno Vikram Vaswani wrote: > Hello all, > > I

[PHP] Question on manually instantiating a file download

2001-03-27 Thread Vikram Vaswani
Hello all, I am working on a script which locates a file on the system and then tells the browser to pop open the "Save As" dialog box for download. In order to do this, I am using the following code: $filename = $dataDir . $id . ".dat"; header ("Content-Type: application/octet-stream"); header