How to Convert PHP to PDFby Matthew Burley
PHP is a coding language for web pages that provides some more flexibility in configuring page objects and presenting information. PHP pages can be viewed in any regular web browser. Typically, someone could send a link to a PHP page to another person if they wanted them to see it, but the dynamic quality of a PHP page could present a situation where that page cannot be replicated by another individual. Fortunately, it is possible to convert a PHP page to a portable document format (PDF) file and share it with another person.
Convert PHP to PDF with Express PDF
Navigate to the Express PDF conversion site. See References.
Open a second tab in your Internet browser, or open a second web browser window.
Navigate to the PHP web page that you would like to convert, then use your mouse to select the web address at the top of the screen. Press "Ctrl + C" to copy it.
Return to the Express PDF page, and click in the text box under the "Enter URL of the web page to convert to pdf" wording. Press "Ctrl + V" to paste the web address into the box.
Type your email address into the text box under the "Provide your email address" wording.
Make any desired changes to the output settings for your PDF file, then click the "Convert to pdf" button at the bottom of the page.
Navigate to your email provider's website, and log into your email account. Click the email from Express PDF, then download your PDF file.
Convert PHP to PDF with Free PDF Converter
Navigate to the Free PDF Converter web site (see References), then open another tab in your Internet browser or another browser window and navigate to the PHP file you wish to convert.
Use your mouse to select the web address from the address bar at the top of the screen, then press "Ctrl + C" to copy it.
Return to the Free PDF Converter page, then click the "URL" option in the center of the screen. Click inside the text box under the "URL to file or web page" wording and press "Ctrl + V" to paste your previously copied web address.
Type your email address into the text box under the "E-mail address" wording, then check the box next to "Attach files to e-mail" and click the yellow "Convert your file" button.
Navigate to your email provider's website, and log into your email account. Click the email from Free PDF Converter, then download your PDF file.
- check Instead of using an online conversion tool to convert a PHP file, it is also possible to install a PDF printer, such as Primo PDF, to print the page to a PDF file. See Resources.
Items you will need
- photo_camera Comstock Images/Comstock/Getty Images