PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 22nd, 2005, 02:30 AM
s2y16 s2y16 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 4 s2y16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 49 sec
Reputation Power: 0
Generate report in .doc or .pdf

I am new to PHP. Anyone have any idea that manage generate report which consist of the graph and summary of Sales System in the format of MSWord or pdf format?

Reply With Quote
  #2  
Old January 25th, 2005, 04:02 AM
phil@sa phil@sa is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 1 phil@sa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 38 sec
Reputation Power: 0
Follow these links:
http://www.sitepoint.com/article/generate-pdfs-php : this is a commercial product. It uses the PDFLib, which needs to be installed.

No extra libs are required for this one, 2 part tutorial:
http://www.zend.com/zend/tut/tutorial-PDFgen1.php
http://www.zend.com/zend/tut/tutorial-PDFgen2.php

You can also try this one
http://www.rustyparts.com/pdf.php

Goodluck!

Reply With Quote
  #3  
Old January 25th, 2005, 05:59 AM
s2y16 s2y16 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 4 s2y16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 49 sec
Reputation Power: 0
Thanks a lot for ur links.... I still have another doubt is there possible to link the document to MsWOrd form ? It would be useful when the end user intend to modify the report that generate by PHP...

Reply With Quote
  #4  
Old January 25th, 2005, 07:52 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
there's ways using COM+
You might want to look into PHP's COM Package

Unfortunately I can't test this at the moment...
Check this code out:

PHP Code:
<?
$word 
= new COM("word.application") or die("Unable to instanciate Word");
$word->Visible 1;
$word->Documents->Open("one.html");
$word->Documents[1]->SaveAs("test_one.doc",1);
$word->Quit();
$word->Release();
$word null;
?>

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Generate report in .doc or .pdf


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT