[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/software/goodbye index.php
From: |
Matt Lee |
Subject: |
www/software/goodbye index.php |
Date: |
Tue, 05 Jan 2010 21:05:16 +0000 |
CVSROOT: /web/www
Module name: www
Changes by: Matt Lee <mattl> 10/01/05 21:05:16
Modified files:
software/goodbye: index.php
Log message:
sending updates to script, force a download header
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/software/goodbye/index.php?cvsroot=www&r1=1.15&r2=1.16
Patches:
Index: index.php
===================================================================
RCS file: /web/www/www/software/goodbye/index.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- index.php 30 Dec 2009 18:24:03 -0000 1.15
+++ index.php 5 Jan 2010 21:05:00 -0000 1.16
@@ -23,6 +23,11 @@
while (!feof($f)) {
$contents .= fread($f, 8192);
}
+
+ header("Content-Type: application/octet-stream; ");
+ header("Content-Transfer-Encoding: binary");
+ header("Content-Length: " . strlen($contents) ."; ");
+ flush();
echo $contents;
} else {
- www/software/goodbye index.php,
Matt Lee <=
- www/software/goodbye index.php, Matt Lee, 2010/01/05
- www/software/goodbye index.php, Matt Lee, 2010/01/05
- www/software/goodbye index.php, Matt Lee, 2010/01/05
- www/software/goodbye index.php, Matt Lee, 2010/01/05
- www/software/goodbye index.php, Matt Lee, 2010/01/05
- www/software/goodbye index.php, Matt Lee, 2010/01/05
- www/software/goodbye index.php, Matt Lee, 2010/01/05
- www/software/goodbye index.php, Matt Lee, 2010/01/05