header function for opening pdf file
|
| View previous topic :: View next topic |
| Author |
Message |
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| How should I use the header() function to force IE open a pdf file in the external program ? |
| |
|
|
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
BigDaddy, #php ?
Otherwise, Content-type: application/pdf
configure the content-type depending on file's extension... on your webserver
Or it may handle it out of the box if not apache... |
| |
|
|
|
|