English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

When I create a link directly to an rtf document and follow it, the rtf is displayed properly. However, I want to display the rtf without forcing the user to follow a link. I have a php script that I want to use to serve up the rtf file. When I try to output the rtf with the script, it is shown as plain text. I tried embedding it in the body of an html file and setting the content-type to "application/rtf" using a meta tag, but it still displays as plain text.

2007-09-23 12:00:06 · 3 answers · asked by modi_ponens 2 in Computers & Internet Programming & Design

3 answers

You need server side Programming buddy.

Scripting will only help you get client side rtf changes.

hope this helps
Cheers:)

2007-09-23 12:06:36 · answer #1 · answered by Neeraj Yadav♥ 6 · 0 1

Browsers do not display RTF (except as text they can't interpret the coding) just HTML etc., so unless you want to launch a word processor to properly show the file you simply can't do what you are asking.

However, since you have an RTF file why not just convert it to HTML and load it to the website in the proper web format? In OpenOffice or Word its just a simple "Save File AS" and your done.

2007-09-23 20:09:10 · answer #2 · answered by Tracy L 7 · 0 0

You need to upload a special class in order to do this

http://www.phpclasses.org/browse/file/7158.html

2007-09-23 19:21:29 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers