- Timestamp:
- 05/19/11 13:38:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/inc/class.exporteml.inc.php
r4416 r4457 200 200 if (count($array_ids)==1) 201 201 { 202 $sEMLData=$imapf->treat_base64_from_post($array_mesgs[ $i]);203 $fileName=$this->CreateFileEml($sEMLData, $tempDir,'',$array_subjects[ $i],$i);202 $sEMLData=$imapf->treat_base64_from_post($array_mesgs[0]); 203 $fileName=$this->CreateFileEml($sEMLData, $tempDir,'',$array_subjects[0],"offline"); 204 204 return $tempDir.'/'.$fileName; 205 205 } … … 304 304 $body = $this-> getBody($id_number); 305 305 306 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ]." _".time().".php"; //source_[sessao]_[timestamp].php306 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".php"; 307 307 $f = fopen($tempDir.'/'.$file,"w"); 308 308 fputs($f,$header ."\r\n\r\n". $body); … … 338 338 $name = md5($_SESSION[ 'phpgw_session' ][ 'session_id' ].microtime()); 339 339 340 $file = $_SESSION[ 'phpgw_session' ][ 'session_id' ].$name; 341 $f = fopen($tempDir . '/'.$file,"w"); 340 //$file = $_SESSION[ 'phpgw_session' ][ 'session_id' ].$name; 341 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ]."_".time().".php"; //source_[sessao]_[timestamp].php 342 $f = fopen($tempDir . '/'.$file,"w"); 342 343 fputs($f,utf8_encode($header) ."\r\n\r\n". utf8_encode($body)); 343 344 fclose($f);
Note: See TracChangeset
for help on using the changeset viewer.