Databases Reference
In-Depth Information
$mail → addAttachment($myImage, 'image/gif',
Zend_Mime::DISPOSITION_INLINE, Zend_Mime::ENCODING_8BIT);
$mail → setFrom('ranjanr@us.ibm.com', 'Rakesh');
$mail → addTo('geeks@zend.com', 'Geek #1');
$mail → setSubject('DB2Rocks......');
$mail → send();
?>
For more information about using Zend_Mail, refer Zend Framework's online
manual.
Zend_PDF
The Zend_Pdf module is a PDF (Portable Document Format) manipulation
engine written entirely in PHP 5. It can load existing documents, create new
documents, modify documents, and save modified documents. Thus, it can help
any PHP-driven application dynamically prepare documents in a PDF by
modifying an existing template or generating a document from scratch. The
Zend_Pdf module supports the following features:
Create new document or load existing one
Retrieve specified revision of the document
Manipulate pages within document
Change page order, add new pages, and remove pages from a document
Use different drawing primitives (lines, rectangles, polygons, circles, ellipses,
and sectors)
Allow text drawing using any of the 14 standard (built-in) fonts or your own
custom TrueType fonts
Handle rotations
Perform image drawing
Do incremental PDF file update
To see the code example about how to use Zend_PDF, refer to the Zend
Framework online manual.
3.4.5 Creating Web services with Zend Framework
Web services are Web-based enterprise applications that use open, XML-based
standards and transport protocols to exchange data with calling clients. Many
vendors including Amazon, Yahoo, and eBay offer numerous Web services that
you can use for free. This section describes the Web services components of
Search WWH ::




Custom Search