Page 291 - Open Soource Technologies 304.indd
P. 291
Unit 12: Portable Document Format
aspell Notes
The aspell PHP library interacts with the aspell C library to check the spelling of words and
offer suggestions for misspelled words. Because the aspell PHP library works only with very
old versions of aspell, you should instead use the pspell library, which works with both pspell
and later versions of aspell.
To use the aspell functions, you must install the aspell C library, Version 0.27 or earlier, and
compile PHP with the enable-aspell directive.
BCMath Arbitrary Precision Mathematics
If you need more precision in numbers than PHP provides by default with its built-in floating-
point numbers, use the BCMath library. It provides support for arbitrary precision mathematics.
To use the BCMath functions, you must compile PHP with the enable-bcmath directive
bzip2 Compression
To read and write bzip2-compressed files, enable the bzip2 library. To use the bzip2 functions,
you must install the bzip2 or libbzip2 library, Version 1.0 or later, and compile PHP with the
with-bz2 [=DIR] directive.
Calendar
The calendar library provides a number of functions for converting between various calendar
formats, including the festivals Day Count, the history calendar, the Indian Republican Calendar,
and UNIX timestamp values. To use the calendar functions, you must compile PHP with the
enable-calendar directive.
CCVS
CCVS is a library for providing a conduit between your server and credit-card processing centers
via a modem. To use the CCVS functions, you must install CCVS and compile PHP with the
with-ccvs=[=DIR] directive. In addition, PHP and CCVS must run under the same user.
clibpdf
clibpdf provides functions to create documents in Adobe’s PDF format on the fly. Unlike the
free pdflib, clibpdf can create PDF files wholly in memory, without the use of temporary files,
and can edit arbitrary pages within a multi-page document. To use the clibpdf functions, you
must install clibpdf and compile PHP with the with-clibpdf directive.
COM
The COM extension provides access to COM objects. To enable the COM extension, you must
install mSQL and compile PHP with the with-com[=DIR] directive. It is available on Windows
platforms only.
ctype
The ctype library provides functions to check whether or not characters and strings fall within
various classifications, such as alphabetic characters or punctuation, taking the current locale
into account. To use the ctype functions, you must compile PHP with the enable-ctype directive.
CURL
The CURL functions provide access to libcurl, a library that manages connections to servers
via a number of different Internet protocols. CURL supports the HTTP, HTTPS, FTP, gopher,
telnet, dict, file, and LDAP protocols; HTTPS certificates; HTTP POST, HTTP PUT, and FTP
uploading; HTTP form-based uploading; proxies; cookies; and user authentication. To use
LOVELY PROFESSIONAL UNIVERSITY 285