Skip to content
Advertisement

Tag: fpdf

PHP Colour Not Being Acknowledged

I am doing some testing with FPDF and running into an issue. When setting a container to pull it’s colour from a pre-defined variable it is not honoring the value and I can’t see why not. Example …

FPDF – Inline bold text

I am trying to create a PDF from PHP and for legal reason we need to make part of our disclaimer BOLD and the disclaimer needs to be outlined. My current code uses: if(isset($_POST[‘optout’]) &&…

add existing pdfs to fpdf

Is there any function that I could call in order to include an existing pdf in my fpdf file? For example $pdf->AddPage(from file example.pdf); something like that? is it posible?

Email PDF Attachment with PHP Using FPDF

I want to email a PDF as an attachment that was created using FPDF. My code looks like this, but the attachment never comes through. Anyone familiar with doing this? I’m hoping to use the PHP mail() function. Answer This ended up working for me:

Advertisement