Re: Content Header
| From: | Chris Shiflett | Date: | Thu, 21 Jul 2005 11:55:19 +0000 |
| Subject: | Re: Content Header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219105@lists.php.net to get a copy of this message | ||
Christopher J. Umina wrote:
I currently have a script which streams data out of a MySQL database, and prints the content headers correctly, however, when I use the following line: header("Content-Disposition: attachment; filename=\"". $filename ."\""); it prompts the user to download the file each time they go to the site.Then it works. :-) It sounds like you meant to use inline instead of attachment. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/