23 require_once
'OLE/PPS.php';
24 require_once
'System.php';
74 $this->_tmp_dir =
$dir;
88 $this->_tmp_filename = tempnam($this->_tmp_dir,
"OLE_PPS_File");
89 $fh = @fopen($this->_tmp_filename,
"w+b");
91 return $this->
raiseError(
"Can't create temporary file");
93 $this->_PPS_FILE = $fh;
94 if ($this->_PPS_FILE) {
95 fseek($this->_PPS_FILE, 0);
109 if ($this->_PPS_FILE) {
110 fwrite($this->_PPS_FILE,
$data);
112 $this->_data .=
$data;
122 $this->ole->getStream($this);