Sunday 15 February 2015

php - iframe is not loaded on remote server -


I am developing a site where the administrator will publish the PDF file and the file will be loaded on an html page. I use the iframe to do this and it works fine on the local host, but when I upload to a remote server, I am forced to download the PDF file. My code is

  & lt; Iframe src = "& lt ;; php echo base_url () ;? & gt; upload / 2.pdf" width = "950px" height = "800px" & gt;   

And there is a link to the page. Please suggest me fixing this problem.

you

     

No comments:

Post a Comment