Viewing PDF files using iFrame. |
[eluser]Unknown[/eluser]
Hello guys, I’m currently trying to view a PDF file in an iFrame. Although the problem is that, I can’t view the file. The PDF file is inside the same folder where the view page is: ci -application -views -documents -index.php -documentPage.php -file.pdf here’s my code: Code: <iframe src="file.pdf" width="100%"> </iframe> What happens is this message displays on the iFrame: 404 Page Not Found The page you requested was not found. I don’t get it, is the Codeigniter framework responsible for this? When I declared file.pdf, does it like call some method or something? Please help This thread http://ellislab.com/forums/viewthread/161595/ stated that opening PDF files in your views using iframes are possible. |
Welcome Guest, Not a member yet? Register Sign In |