4 $extension = substr($_COOKIE["TEST"], -3);
6 if ($extension == 'mp4') {
7 header("Content-Type: video/mp4");
8 $fileName = "test.mp4";
9 } else if ($extension == 'ogv') {
10 header("Content-Type: video/ogg");
11 $fileName = "test.ogv";
15 header("Cache-Control: no-store");
16 header("Connection: close");
18 $fn = fopen($fileName, "r");