Welcome Guest, Not a member yet? Register   Sign In
linking to .pdf
#3

[eluser]LuckyFella73[/eluser]
Code:
$this->load->view('your_file')

is used to load HTML/ PHP files. A PDF files is nothing
your browser can render like HTML - so that is not the
way to go.
You can set a link to your .pdf file in your html code
and when clicking the pdf should open in your browser displayed
by the acrobat plugin.

If you still get a 404 page you have to adjust your htaccess file
for you needs. I would prefer to place the pdf file in seperated
directory and not at the root level.


Messages In This Thread
linking to .pdf - by El Forum - 04-06-2011, 11:15 AM
linking to .pdf - by El Forum - 04-06-2011, 01:59 PM
linking to .pdf - by El Forum - 04-06-2011, 02:35 PM
linking to .pdf - by El Forum - 04-06-2011, 05:02 PM
linking to .pdf - by El Forum - 04-07-2011, 12:54 AM
linking to .pdf - by El Forum - 04-07-2011, 01:31 AM
linking to .pdf - by El Forum - 04-07-2011, 09:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB