This function gives you more options than the readfile() function. The original author, Ian Here is my code$path = $_SERVER['DOCUMENT_ROOT'].folder_name.'/resources/uploads/pdf/pdf_label_'.$order['id'].'.pdf'; PHP uses a standard code to display the pdf file in browser. The