How can links be added to a PDF generated using ezPDF in PHP?

To add links to a PDF generated using ezPDF in PHP, you can use the `addLink()` method provided by ezPDF. This method allows you to specify the coordinates, size, and URL of the link you want to add to the PDF.

<?php
require('class.ezpdf.php');

$pdf = new Cezpdf();
$pdf->selectFont('Helvetica');

$pdf->addText(100, 100, 12, 'Click here to visit Google', 0, 0);
$pdf->addLink(100, 100, 200, 12, 'http://www.google.com');

$pdf->ezStream();
?>