13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Solution Overview<br />

779<br />

Generate<br />

RTF file<br />

from blank<br />

template<br />

Ask<br />

Quiz<br />

Questions<br />

Assess<br />

Quiz<br />

Answers<br />

Generate<br />

PDF file<br />

from blank<br />

template<br />

Generate<br />

PDF via<br />

PDFlib<br />

Figure 32.1<br />

The certification system generates one of three different certificates.<br />

A summary of the files in the certification project is shown in Table 32.1.<br />

Table 32.1 Files in the Certification Application<br />

Name Type Description<br />

index.html HTML page HTML form that contains the quiz questions<br />

score.php Application Script to assess users’ answers<br />

rtf.php Application Script to generate an RTF certificate from the<br />

template<br />

pdf.php Application Script to generate a PDF certificate from the<br />

template<br />

pdflib.php Application Script to generate a PDF certificate using PDFlib<br />

signature.png Image Bitmap image of the signature to be included on<br />

the PDFlib certificate<br />

<strong>PHP</strong>Certification.rtf RTF RTF certificate template<br />

<strong>PHP</strong>Certification.pdf PDF PDF certificate template<br />

Now let’s look at the application.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!