Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

displaying pdf on a website

Tags:

php

pdf

We want to display a pdf-file on a webpage. From what i can think of i see two possible solutions, displaying the file with some kind of pdf reader(maybe in flash?) or converting the pdf-file to html before displaying it.

How would you proceed to solve a problem like this? Which would be the preferable method?

like image 511
Silfverstrom Avatar asked Dec 08 '22 08:12

Silfverstrom


1 Answers

Well, there's always a third way: serve the PDF itself and leave the rest to the visitor.

like image 76
Milen A. Radev Avatar answered Dec 22 '22 23:12

Milen A. Radev