htdocs/datafile.php
author Dan
Sat, 15 Nov 2008 14:59:51 -0500
changeset 19 eb92dc5d9fb4
parent 8 0acb8d9a3194
child 20 e2f6e3af9959
permissions -rw-r--r--
Can't believe I never put graphs.php in there.
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