23 require_once (
'classes/OLE/PPS.php');
73 $this->_tmp_dir =
$dir;
87 $this->_tmp_filename = tempnam($this->_tmp_dir,
"OLE_PPS_File");
88 $fh = @fopen($this->_tmp_filename,
"w+b");
90 return $this->raiseError(
"Can't create temporary file");
92 $this->_PPS_FILE = $fh;
93 if ($this->_PPS_FILE) {
94 fseek($this->_PPS_FILE, 0);
106 if ($this->_PPS_FILE) {
107 fwrite($this->_PPS_FILE,
$data);
110 $this->_data .=
$data;