note 14191 added to function.header.php
| From: | webmaster at shoggoth dot net | Date: | Fri, 20 Jul 2001 21:30:09 +0000 |
| Subject: | note 14191 added to function.header.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15626@lists.php.net to get a copy of this message | ||
One small correction to bill@evil's code.. it shuold be inline not attachement to recommend a
filename to be downloaded.
header( "Content-type: application/x-gzip" );
header( "Content-Disposition: inline; filename=some-file.tar.gz" );
header( "Content-Description: PHP3 Generated Data" );
http://www.php.net/manual/en/function.header.php