htdocs/datafile.php
author Dan
Sun, 31 Aug 2008 10:13:05 +0000
changeset 10 a97bd37e43e9
parent 8 0acb8d9a3194
child 20 e2f6e3af9959
permissions -rw-r--r--
Fixed SCRIPT_PATH detection in changetz
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     1
<?php
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     2
header('Content-type: application/force-download');
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     3
header('Content-disposition: attachment; filename=stats-data.php');
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     4
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     5
echo file_get_contents('../stats-data.php');
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     6