htdocs/datafile.php
author Dan
Sun, 12 Oct 2008 00:31:56 -0400
changeset 17 b07b23187b17
parent 8 0acb8d9a3194
child 20 e2f6e3af9959
permissions -rw-r--r--
OK, *now* it should actually cycle the data once a day
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