[eluser]LTFMIKE[/eluser]
First of all ,
Hello to everyone ,
I am discovering This framework while starting a new project for a completely new job for me.
I'am interesting by this class concerning pdf document.
I've read all the page in the forum but i didn't found an answer.
here's is my problem.
I just want to open a pdf.file inside a specific div :
for example :
in my controller :
if (isset($_GET['fichier']))$data['fichier'] = $_GET['fichier']; ---< which is a previous pdf file clicked
$this->load->view('cadre/test',$data);
in my views :
<div><?php readgzfile(base_url().$fichier);?></div>
for the moment , I tried a lot of think , including : $this->load->helper('file');
before loading my views.
i tried to use : readfile ()
readgzfile()
but result is always displayed like that : PDF READER :
%PDF-1.4 %Çì¢ 5 0 obj <> stream xœµYY’5.^û~£›ª6–Ù~à–„äg)–¢BfËLÂ$¬wᜉpäÝ=í øÉ<IJdë“ä–%ÿLpL„¿2xx>QNëÂ�Tìé£ ´“ÑHŽ–)�Á@höôtú:³´ÆÀ’ÆéË,©Åž%Ø£ 50㤋{ji:.·FyEÈJ
please , i need help to continue this project ,
I like to use CodeIgniter and i want to continue white it.
Is my problem can be solved easily ?
Thanks for reading me , and excuse me for my very bad english !!!
Regards.
MIKE.