Valuate Domain Names
DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
HomeRegisterMembershipsGetting StartedDomain Tools Domain EbooksSEO Software Domain Resellers Advertise

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 02-05-2009, 04:18 AM   #1 (permalink)
Gold Lifetime Member
No Avatar
 
Last Online: 02-05-2009 05:15 AM
iTrader: (0)
Join Date: Feb 2009
Posts: 1
DNF$: 10


Generate PDF, DOCX and DOC with PHP

I'm new here, so first of all, hello to everyone.

I have just come across a new project that allows you to generate PDF, DOCX and DOC files with PHP.

All you have to do, is create a template in Open Office (or Word). In the template, you create the layout of the document and insert a number of text fields. These text fields are then populated with data from PHP and the document can be saved as a PDF file or in any other supported format. The concept is good old "mail-merge".

http://www.phplivedocx.org/articles/...o-phplivedocx/

From the web sites' blurb: "phpLiveDocx allows developers to generate documents by combining structured data from PHP with a template, created in a word processor. The resulting document can be saved as a PDF, DOCX, DOC or RTF file."

I am currently adding phpLiveDocx to an online store I am working on. The customer wants his store to create an invoice and sent it by e-mail as a PDF attachment. The invoice should use the same template file that is used in the internal accounting software (which is a DOC file).

phpLiveDocx works well and it is much easier to get good results than with FPDF, TCPDF or Zend_Pdf.

Download here:

http://www.phplivedocx.org/downloads/

Have fun

Leo
leo.bonnafe is offline   Reply With Quote
Sponsored Ads
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:14 PM.
Copyright @2001-2009 DNForum.com