opening word document in browser using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
learnerabn
Forum Commoner
Posts: 48
Joined: Wed Feb 10, 2010 12:56 am

opening word document in browser using php

Post by learnerabn »

hi all,

I am having an hyperlink in my site,if i click in that i want to open an word document.That word document should be opened in browser itself.
can any one help me to do this....

Thanks in advance.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: opening word document in browser using php

Post by requinix »

Help yes, do it for you no.

Have you made sure that your browser can render documents in the window? Have you tried just linking to the file?
learnerabn
Forum Commoner
Posts: 48
Joined: Wed Feb 10, 2010 12:56 am

Re: opening word document in browser using php

Post by learnerabn »

First Thanks for your reply..

Code: Select all

Help yes, do it for you no.

Have you made sure that your browser can render documents in the window? Have you tried just linking to the file?
Me too asking help only.
I dont know if there is a class file for this or not.
I gooogled it but cant find the way.
And what are you asking i cant understand.... if i made to open it through href or iframe means it works.
what else do you want know?
Post Reply