This commit is contained in:
Gerald Raab
2007-07-03 07:45:57 +00:00
parent 66e8bbc598
commit 3bbe6801d9
2 changed files with 70 additions and 6 deletions
+2 -1
View File
@@ -1043,7 +1043,8 @@ if(!class_exists('FPDF'))
break;
case 'F':
//Save to local file
$f=fopen($name,'wb');
$name = "/tmp/".$name;
$f=fopen($name,'wb');
if(!$f)
$this->Error('Unable to create output file: '.$name);
fwrite($f,$this->buffer,strlen($this->buffer));