Viewing a pdf file into div using php

Hi all,
I working on a php project where a pdf has to be shown in div container .
I have googled around this and on this forum also.
If anybody can help.please help me on this topic.

Rajeev Ranjan .

Whether a person’s browser will show a PDF embedded within a page depends on their browser and plug-in settings. In my experience, the majority of people have it set so that PDFs launch Adobe Reader as a separate application, rather than as a plug-in within the browser, meaning that you can’t achieve what you’re after for those people.

Well… While Stevie D is correct here, you COULD run some PDF libs to convert to jpegs on the fly

i used iframe but this need pdf plug-in on the browser,so i have used google doc viewer to show pdf content.

<iframe src="" style="width:600px; height:500px;" frameborder="0"></iframe>


If the browser supports displaying PDFs in the browser then the following is the simplest solution:

<div><img src=“something.pdf” alt=“unfortunately your browser doesn’t display PDF’s”></div>

Again it needs pdf plug-in.
is there any third party tool to show pdf on the site like we see on other sites like scribd.

A PDF is never the original source - if you want to display in the web page without needing a PDF prugin then it is best to convert the original source into a different web supported format.

JPEG, with cool little javascript zoom ability

Ok. i will try that.