Open a PDF file in a HTML document.

Discussing Html . Code , Software , other

Moderators: gesf, Michalio

Post Reply
User avatar
NorseMan
php-forum Active User
php-forum Active User
Posts: 44
Joined: Mon Jul 04, 2022 5:25 pm
Location: Near Oslo (Norway)

I have a .PDF file I want to open in an HTML document. I do not want to open it as an external PDF file, but should be integrated into a document as it appears as a PDF file. How can this be done?
________________
Leon (Norway)
________________

-------
(some of)My configuration is:
Laragon full 5.0 web server with PHP and MySQL installation
(Apache 2.4.47 / PHP 7.4.19 / MySQL 5.7.33)
-------
My toolbox and workbench:
Navicat for MySQL 16.0.13
FileZilla 3.57.1
Among others
-------
Development toolbox:
Adobe DreamWeaver 21.2
Adobe Photoshop 23.1.0
Adobe Illustrator 26.0.2
Adobe InDesign 17.0.1
Adobe XD
Visual Studio Code 1.63.2 (with some extensions enabled)
User avatar
Michalio
Moderator
Moderator
Posts: 209
Joined: Sun Jul 18, 2021 1:33 pm
Location: Poland

Use pdf.js
https://pdfjs.express/blog/how-to-use-pdf-js
Free coding lessons: https://php-forum.com/phpforum/viewtopic.php?t=29852
Post Reply