Creating PDF documents
|
This tutorial steps you through the process of creating PDF documents with PHP. |
|
|
|
PHP for PDF
With this Tutorial you'll learn how to use the PDF extension in PHP4 to create PDF documents.We also put focus on creating PDF documents with data from MySQL.
Create PDF documents with TCPDF
Many web applications using PDF documents for invoices, contracts and many other doc types. There are a few PHP classes which are able to create PDF documents online, one of them is TCPDF. This tutorial is about how-to use the TCPDF class while creating a simple invoice document. If you like to take a sneak peak on the result, check this website which generates the PDF Invoice document on the fly.
Create Nice-Looking PDFs with PHP and FPDF
Learn how to use the free FPDF library to produce great-looking PDF documents from within your PHP scripts. Full example included.
Reading the clean text from PDF
Portable Document Format (PDF) is a file format created for the document exchange. Let's read the plain text from PDF file.
Non ASCII Characters in HTML documents
This tutorial explains: Basic Rules, French Characters in HTML Documents - UTF-8 Encoding, French Characters in HTML Documents - ISO-8859-1 Encoding, Chinese Characters in HTML Documents - UTF-8 Encoding, Chinese Characters in HTML Documents - GB22312 Encoding, Characters of Multiple Languages in HTML Documents.
Using FPDF To Create PDF Files From PHP - Part 3: Images and Links
In this tutorial, you will learn how to use the Image method when you need to add an image to a PDF document.
Transforming XML with XSL using Sablotron
This article in explaining how to parse XML documents using XSLT (eXtensible Stylesheet Language Transformations). XSLT is a language for transforming XML documents into other XML documents or HTML documents. I will not discuss XML, XSL or XSLT syntax in this article, for a good introduction to these please refer to the links at the end of this article.The focus of this article is on how to transform XML documents with XSLT using the Sablotron XSLT processor.
Creating Categories and Attributes with Magento
The combination of products, presentation, and service makes our store unique. Before adding products, we need to make some decisions about how we will organize our site. A few minutes of planning now can save us hours of work later. This Chapter focuses on creating categories and attributes, a necessary step before you can build your catalog of products. (pdf file, install Acrobat Reader to view this tutorial)
Remove whitespace from string
I have been doing a lot of coding using the framework CodeIgniter lately so I have been creating many simple helper functions to perform different tasks. My most recent project involves creating PDF files with text from a database. The problem is that the text from the database is dirty, meaning that in a persons name there could be multiple spaces between the persons first and last name or even spaces at the end of their name. In dealing with legacy data that you cannot change but needs to be output correctly without those spaces you get creative. The below function should help solve this issue .
XML and PHP Simplified - Formatting XML Documents
Part 3 of this series covers how to format XML documents in web browsers and how to parse or read them using PHP strings and functions.
Creating Dynamic PDF files using HTML and PHP
Some may need to convert some text into HTML and some may need to convert some HTML content to an image format. The main reason for the need to convert from one file format to another is because the target file format is best suited for targeted medium where the content need to be displayed. The targeted medium may be an email, a printed hard copy or a web browser. The text format is best suited for sending emails, as the possibility of the email contents getting corrupted in the transition is much lesser, when compared to the HTML formatted emails. PDF document or a word document would be the best choice for taking a printed hard copy and obviously HTML is best for showing contents in web browsers.
Using FPDF To Create PDF Files From PHP - Text Basics
In this tutorial, you will learn how to use FPDF to create PDF files from PHP - Text basics.
Using FPDF To Create PDF Files From PHP - Part 2: Document Settings
In this tutorial, you will learn how to use FPDF to create PDF files from PHP - Part 2: Document settings.
Write a PDF from PHP with a custom font and encoding
How to write a PDF from PHP with a custom font and encoding.
Creating Word, Excel and CSV files with PHP
In this article we demonstrate several ways to create Microsoft Word and Excel documents, and also CSV files using PHP. Learn how to create files using HTTP headers, COM objects, OpenOffice templates, fputcsv function.
Dynamic Theming in Drupal
This chapter takes a look at how Drupal system enables you to vary the styling between the sections,pages,users. PDF File!
Learn to Authenticate and Authorize your website using MODx
In this chapter, readers will learn how to modify their site to have a sign up form and log in form. They will also learn how to enable blogs to be posted only by friends. (pdf file, install Acrobat Reader to view this tutorial)
AJAX Validation
This chapter helps readers to create a form validation application that implements traditional techniques with added AJAX flavor, thereby making the form more user friendly, responsive, and pleasing. pdf file, install Acrobat reader to view this tutorial.
Learn to Secure Joomla! Extensions
This tutorial explains how developers can avoid some of the more common mistakes that lead to security vulnerabilities in Joomla! It also demonstrates how extensions can be made secure and some of the implications if developers fail to do this. PDF FILE
HTACCESS Wrappers with PHP
HTACCESS is a remarkable tool you can use for password protection, error handling (like custom 404 pages), or HTTP redirects. It can also be used to transform whole folders in seconds: adding headers to all your HTML documents, watermarking all your images, and more.
PHP and XML: using expat functions
This tutorial shows how to parse XML documents in PHP. It walks you through a fairly simple application of XML that you can use to implement a news system for your home page.
Parsing XML using PHP
Parsing XML is a very common task when programming for the web. This article will show you how to use the eZ xml parser to handle XML documents.
Learn to Embed and Display Third party videos
learn how to embed and display third-party video within your content,using Embedded Media Field to automatically parse and display video from an editor's pasted URL from You Tube, Blip.TV, or other providers. (pdf tutorial, install Acrobat Reader to view this tutorial).
Add Images and Plugins to your WordPress Website
This chapter explains that blog posts arent the only content in ones blog and they can add pages of static information as well as upload and manage images on their site. They will also learn how to add plugins, which will help enhance the capabilities of their entire website. (pdf tutorial, install Acrobat Reader to read this tutorial)
Build data tabels and learn to search,sort and navigate it using jQuery and AJAX
This chapter teaches readers how to build large data tables and goes on to discuss as to how to navigate, sort,search, paginate, and search it using jQuery and Ajax. PDF file, install Acrobat Reader to read this tutorial
Creating a Twitter OAuth Application
OAuth can be a tricky concept to wrap your head around at first, but with the Twitter API now requiring its use, it is something you need to understand before creating a Twitter application. This tutorial will introduce you to OAuth, and walk you through the process of creating a basic application.
Documentaion with phpDocumentor
This chapter will teache users to properly document PHP code with phpDocumentor and generate well formatted developer documentation. Users will learn to install phpDocumentor and learn the general syntax for DocBlocks. They will also learn to run phpDocumentor to generate the documentation. (PDF file, install Acrobat Reader to view this tutorial)
phpMyAdmin Tutorial: Transformations & PDF-Features PHP tutorial
This tutorial is targeted at both novice users and advanced users. Even though I describe many steps in detail for those of you who are not so used to phpMyAdmins interface, I also describe some of the features to be used by advanced users. I tried to create this tutorial with an easy structure, so everyone can skip sections he's not interested in. Even though this page is largely sized, I decided to put everything on a single page to allow quick scrolling to anywhere you like.
Send an Email Attachment with PHP
To send email attachments you need to make use of MIME (Multipurpose Internet Mail Extensions) - a mechanism that allows email to go beyond a basic, limited character set. MIME has many uses but for the purposes of this tutorial we will send a multipart/mixed MIME email; this means we can send a text email and attach a PDF file to it (for information on attaching other file types please see the end of this tutorial). The MIME side of things will be exaplined as we go.
Template Refernce in Joomla! 1.5
This tutorial covers key reference information under easy-to-look-up headings that will help you with Joomla! template development. From the many CSS ID and class styles that Joomla! outputs, to Joomla!'s jdoc tags and their controlling attributes, the information in this tutorial is listed along with key links to bookmark which will make template development as easy as possible. (pdf tutorial, install Acrobat Reader to read this tutorial)
