I think in the most case, we are 'php coding' to create a pdf file, the file then is being viewed by a normal pdf reader like acrobat reader. if you want to open up a pdfile like 'test1.pdf' you just put a link to that file, it is up to the browser to find an available pdf reader in the client's pc. Justice <amijufa@xxxxxxxxxxx> wrote: Hello , I have managed to download and do some examples in PDF using FPDF. I can create some pdf files from text files well. But I am failing to open/viewing existing pdf files using this code. define('FPDF_FONTPATH','font/'); require('..\fpdf.php'); class PDF extends FPDF { function PrintFile($file) { $this->AddPage(); //Read file $f=fopen($file,'r'); $contents=fread($f,filesize($file)); fclose($f); $this->SetFont('Times','',12); //Output text $this->MultiCell(0,5,$contents); //$this->Ln(); //$this->SetCol(0); } } $pdf=new PDF(); $pdf->PrintFile('test1.pdf'); $pdf->Output(); ?> Your help is highly appreciated. Regards Justice --------------------------------- For ideas on reducing your carbon footprint visit Yahoo! For Good this month. [Non-text portions of this message have been removed] --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. [Non-text portions of this message have been removed]