From: 620 <an...@gm...> - 2004-07-16 03:02:17
|
Hi, I'm not a developer. If problems about using phpwiki are inappropriate here, please let me know, thanks. I just begun using fpdf plugin but has some trouble with it. When I try to load a page with parameters: action=pdf and download. I get a message indicating the following line in fpdf.php can not open a file. To fix it, I added a '../'. before $file. It has no more complain about not able to open the file now but I can not see anything in the generated pdf file except "Php WiKi" logo. Did anybody meet this before? By the way, I don't have a "PDF" that can be clicked on the page. I have to type it in the URL to get this working. How could I turn it on? function _parsepng($file) { //Extract info from a PNG file $f=fopen('../'.$file,'rb'); //$f=fopen($file,'rb'); if (!$f) $this->Error('Can\'t open image file: '.$file); |