Welcome to WebmasterWorld Guest from 54.196.231.129

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

MS Office Document Interaction

     
2:04 pm on Nov 17, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 12, 2006
posts:1304
votes: 0


I'm trying to interact with uploaded MS Office applications through PHP scripting. I'm guessing it would be somewhat easier if I were using PHP for Windows, but I'm currently using a LAMP configuration.

I seems that some ISPs (including one of mine) don't even allow for the instantiation of MS Office COM components on Windows Servers when you're using shared hosting.

But for a UNIX/PHP configurations, I have two questions:

1. I'm wondering if anyone has any suggestions for interacting with MS Office applications (e.g. Word documents, Powerpoint documents)?

2. While I plan to use FPDF to handle PDF files, I'm looking at the Zend Framework to possibly handle MS Office files. Has anyone successfully configured the Zend Framework through their web host by uploading the framework and modifying their php.ini file?
4:13 pm on Nov 26, 2011 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


I'm trying to interact with uploaded MS Office applications through PHP scripting


Interact meaning modify? Or merely upload, move, store, provide for download, email, etc?
3:09 am on Nov 28, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 12, 2006
posts:1304
votes: 0


Actually, I'm having trouble just opening a PPT file using COM components in PHP. My idea was to simply open a PPT and use the "SaveAs" method of the "PowerPoint.Application" component, but it's been a struggle.

I decided to run a WAMP server locally, so I'll see if self-configuring PHP will do the trick.