0) header('Content-Length: ' . (filesize($file)-$seekat)); else header('Content-Length: ' . filesize($file)); if ($seekat != 0) { print("FLV"); print(pack('C', 1 )); print(pack('C', 1 )); print(pack('N', 9 )); print(pack('N', 9 )); } $fh = fopen($file, "rb"); fseek($fh, $seekat); while (!feof($fh)) { print (fread($fh, 16384)); // print (fread($fh, filesize($file))); } fclose($fh); } else { print(""); print("Page not found."); print(""); } ?>