Lines Matching refs:tmp_file
77 $tmp_file = $this->tmpFileName('odt');
80 $tmp_zip->create($tmp_file);
91 return $tmp_file;
107 $tmp_file = $this->renderODT($template, $row);
109 $wd = dirname($tmp_file);
110 $bn = basename($tmp_file);
113 @unlink($tmp_file); // remove odt file
118 $tmp_file = substr($tmp_file, 0, -3) . 'pdf';
120 return $tmp_file;
124 $tmp_file = $this->tmpFileName('pdf');
125 $cmd = "gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$tmp_file ";
135 return $tmp_file;
141 * @param $tmp_file string path of sending file
145 public function sendFile($tmp_file, $filename, $ext='odt') {
150 http_sendfile($tmp_file);
152 $fp = @fopen($tmp_file, "rb");
156 http_rangeRequest($fp, filesize($tmp_file), $mime);