File download script
| From: | Tom Carter | Date: | Thu, 05 Jul 2001 15:29:03 +0000 |
| Subject: | File download script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-56321@lists.php.net to get a copy of this message | ||
Hi all,
I have a script getfile.php which when I call like getfile.php?fileid=12 and
it returns the file to the browser with the appropiate mime headers etc..
however a problem has recently come where when I have a link to this from a
page then it prompts me to download the page I'm calling from..... if I then
click open it then prompts me correctly.. any body got any idea? It never
used to do this so something has changed
TIA
Tom