htdocs/datafile.php
author Dan
Mon, 25 Aug 2008 12:34:26 -0400
changeset 8 0acb8d9a3194
child 20 e2f6e3af9959
permissions -rw-r--r--
Welcome, modularization and stats.
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