Page 293 - Open Soource Technologies 304.indd
P. 293
Unit 12: Portable Document Format
The GMP library is not enabled by default. To use it, you must install GNU MP, Version 2.0 or Notes
later, and compile PHP with the with-gmp[=DIR] directive.
Hyperwave
Hyperwave is a database for storing and managing documents. Documents of any type and
size are stored, along with metadata (such as its title), in any number of languages. To enable
Hyperwave support, you must install Hyperwave, Version 4.1 or later, and compile PHP with
the with-hyperwave directive.
These are some extensions are described here and more are remains like IMAP, POP3, and
NNTP, Kerberos etc.
The PDF format is so powerful and has been adopted around the world
because it acts as a container for various types of content.
Self Assessment
Multiple choice questions:
1. PDF stands for:
(a) Primary Derived Format (b) Pre Document Format
(c) Portable Document Format (d) None of these.
2. ………….. is a library for providing a conduit between your server and credit-card
processing centers via a modem.
(a) clibpdf (b) CCVS
(c) COM (d) None of these.
3. ……………. provides functions to create documents in Adobe’s PDF format on the fly.
(a) clibpdf (b) CCVS
(c) COM (d) None of these.
4. EXIF stands for:
(a) External Image File Format (b) Exchangeable Image File Format
(c) Executable Image File Format (d) None of these.
True or False:
5. pdflib extension is an open source library.
(a) True (b) False
6. CyberMUT is a financial transaction service from Credit Mutuel.
(a) True (b) False
12.2 Documents and Pages
A PHP document is made up of a number of pages. Each page contains text and/or images. It
shows you how to make a document, create pages in that document, put text onto the pages,
and send the pages back to the browser when you’re done.
A Simple Example
Let’s start with a simple PDF document. Example shows simply places “Hello world!” on a
page and then displays the resulting PDF document.
LOVELY PROFESSIONAL UNIVERSITY 287