moved code up one level to eliminate the docs subdirectory
[acontent.git] / include / securimage / securimage_play.php
1 <?php
2 $_user_location = 'public';
3 define('TR_INCLUDE_PATH', '../');
4 require (TR_INCLUDE_PATH.'vitals.inc.php');
5 session_start();
6
7 include 'securimage.php';
8
9 $img = new Securimage();
10
11 header('Content-type: audio/x-wav');
12 header('Content-Disposition: attachment; name="securimage.wav"');
13 header('Cache-Control: no-store, no-cache, must-revalidate');
14 header('Expires: Sun, 1 Jan 2000 12:00:00 GMT');
15 header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . 'GMT');
16
17 echo $img->getAudibleCode();
18 exit;
19
20 ?>