Send variables to PDF through php form [GET?]

Please check out this example to see exactly what I’m talking about.
http://www.spreadfirefox.com/en-US/worldrecord/certificate?participant=Your%20Name%20Goes%20Here!

Does anyone know how they do this? Is there an easy way to send variables to a pdf and display them into the form?

Any help appreciated.

Thanks!

As far as I know it has to be done using a Server-Side language, I’ve had experience with dynamic PDF’s using PHP. I’ll try and find the library I used

Yeah I figured that I might have to use and learn some sort of library :(. I was hoping that It would be easy like Flash to get variables from the address bar. Oh well.

If, you could still post the library that you used, maybe it’ll be different than the one’s that I’ve been looking at, like FPDF.

Thanks again.

FPDF looks quite simple to use, it’s got a lot of good documentation - I’d go ahead and use that

I mean the example is simple enough:


<?php
require('fpdf.php');
 
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>

Piece of cake!

^^ I used FPDF, it was pretty simple, and it’s pretty easy to make a maintainable version.

http://uk3.php.net/pdf