before getting started, just locate the pdf file inside the root directory of your project folder along with the php file and understand the below functions. js, to embed a pdf document on a webpage. a pdf document can be embeded in a web page using plain html files or html