PATH:
var
/
www
/
vhosts
/
sandbox.dos-group.com
/
beacons.sandbox.dos-group.com
/
vendor
/
dos
/
common
/
src
/
Dos
/
File
<?php /** * Created by PhpStorm. * User: claudio.mandica * Date: 01/06/15 * Time: 11:55 */ namespace Dos\File; /** * Class FileManagerOutput * @package Dos\File */ class FileManagerOutput extends FileManagerBase { /** * @param $filename * @param string $mode */ public function __construct($filename, $mode = 'w') { header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header('Content-Description: File Transfer'); header("Content-type: text/csv"); header("Content-Disposition: attachment; filename=".$filename); header("Expires: 0"); header("Pragma: public"); $this->handle = fopen( 'php://output', $mode ); } }
[-] FileManagerOutputCsv.php
[open]
[+]
..
[-] FileManagerBase.php
[open]
[-] FileManagerOutput.php
[open]
[-] FileManager.php
[open]