Skip to content

TechXcel.com - provides technical excellence...

Narrow screen resolution Wide screen resolution Increase font size Decrease font size Default font size default color orange color green color
You are here: Home arrow Articles arrow PHP arrow Printable Document Generation with PHP
Printable Document Generation with PHP PDF Print E-mail
(7 votes)
Written by Chetankumar Akarte   
Tuesday, 13 March 2007
Article Index
Printable Document Generation with PHP
Advantages of RFT Format
1. Generate Template
2. Open template in PHP
3. Modifying contents
4. Save Document
Download Source Code


Save the generated document



Upon execution of the above script (Code 1:- test.php), contain function modifier($vars, $doc_file) which returns a string representing the new RTF document with all the provided placeholders fields filled by new values of array $vars and RTF file stored in the file system as ‘output.rtf’.


Modified Template
Modified Template




Last Updated ( Tuesday, 04 September 2007 )
 

Who's Online

We have 2 guests online

User Login

PayPal Donation

Enter Amount:

Syndicate

TechXcel's Friends

Tutorials Garden
Wicolorz
pixel2life

Text Link Add

Statistics

Members: 272
News: 60
Web Links: 6
Visitors: 323366

Google Seach

Google AdSense

TechXcel Referrals

TechXcel's Sponcer...