i am developing a site where the admin will publish pdf file and the file will be loaded in a html page. i use iframe to do so and it works fine on localhost but when i uploaded in to remote server it force me to download the pdf file.here is my code
<iframe src="<?php echo base_url();?>uploads/2.pdf" width="950px" height="800px" >
and here is the link for the page.please suggest me to fix this problem.