473,412 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

How to display office documents in PHP?

I am developing an application where I needed to display various documents like PDF, MS Excel, MS Word, PPT etc using php how to do it?
Jan 9 '11 #1
4 1800
code green
1,726 Expert 1GB
Do you mean open them, and display in a browser?
It is not usually done this way.
Normally a link which gives a user the option of downloading or opening the file is how it is handled.
Jan 10 '11 #2
I dont want users to download them. Just display the content.
Jan 10 '11 #3
code green
1,726 Expert 1GB
The content will be gibberish in a browser.
For an example, open them in a simple text editor such as notepad.
Jan 10 '11 #4
code green
1,726 Expert 1GB
For MS documents it is possible using COM and appropiate headers and CSS.
But I don't know how well they work
Jan 10 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Flynn | last post by:
My understanding of javascript is very limited. Could some one help me out. I found this code for an image gallery viewer. It works fine on my site, but I'd like to modify it so that the mainpic...
5
by: feck | last post by:
Hi, Is there any code/routine to export a report as a word document retaining the formatting. I have a requirment to produce some fairly detailed statisitical reports for transmission by e-mail....
5
by: Robert Schuldenfrei | last post by:
Hi Again, Forgive me for posting this again, but old items seem to get little review. I thought I could adjust the viewer properties without any further aid from the NG, but I was wrong. When...
0
by: Adam Klobukowski | last post by:
Hello I have to implement a simple viewer for any type of document using ActiveX (that is any documents viewable using installed ActiveX controls). Unfortunetly anything I could find abouyt...
2
by: Yavuz Bogazci | last post by:
Hi, i am searching for a WebForm Component or a Way to show Word, Powerpoint and Excel Files in an Viewer on the ASPX Page. Is this possible? How can i do that or which Component can is use? ...
1
by: zee | last post by:
hello Is it possible to use Document Image Viewer Control in ASP.NET(2.0) because 1. The IDE is not adding this component in the toolbox and 2. when i use it so it give me following error ...
1
by: David Veeneman | last post by:
I'm writing an application that will manage a database of documents typed into the application by the user. Some documents will contain links to other documents. If the user clicks on a link, the...
0
by: =?Utf-8?B?d2F5bmU=?= | last post by:
document viewer wants to install how do I resolve?
4
by: =?Utf-8?B?SGFyc2hh?= | last post by:
Hi All, I have created a asp.net page. In that page I have added a Panel. On button click I need show a word document in that panel. Please let me know how to do that. I don't want to open word...
2
by: sphinney | last post by:
Hi everyone. I have a form in my Access 2007 database with a Microsoft Office Document Imaging Viewer Control 12.0 object on it. The object is named "GRAPHIC_mdv". When the form opens I want to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.