|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi
i have a small problem.I have to show a Ms word Document in the internet explorer browser. even if i have Header("Content Type:application/ms-word"); ie is not working. can anybody suggest me a solution?or else my PL will.... anky |
|
#2
|
|||
|
|||
|
Hi,
You're actually missing a hyphen, so it should read: header("Content-type: application/ms-word"); that should fix it ![]() |
|
#3
|
|||
|
|||
|
hi admin
sorry that i missed out the hyphen here but its there in my code.Content type setting will show my doc in the browser with msword embedded in it....right. even if i have the file written in html format embedded in the php script it is not getting converted. again, if i do areadfile("filename"); after the content type is declared. just tell me if i have a file x uploaded in my apache what will be the small code for it. thanx anky ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > setting content type |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|