Posted by none on 06/29/07 11:51
piyush wrote:
> i have uploadeed a .doc file into server now i want to show it on a
> page
> how can i do it
> please help me with some code or code hints
The good way
<a href = "file.doc">click here for file</a>
The bad way:
header("Location: http://server/file.doc");
consider that not every browser handles this in the same way. Most older
browsers do nasty stuff.
You could offcourse convert it to html with openoffice :-)
Arjen
[Back to original message]
|