<? header("Content-type: application/pdf"); header("Content-disposition: attachment; filename=filename.pdf" ); readfile("filename.pdf"); ?>
Launching this script will prompt a file download screen if the Acrobat Reader Plugin is not available on the client browser. Otherwise it will display inside the browser window using the plugin. Hope that helps. - Kevin "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > No I am not sending any headers to the browser. Any suggestions ! > > Thanks > > On Wednesday, October 1, 2003, at 04:05 PM, Tyler Lane wrote: > > > > > Are you sending a Content-Type header to the browser to let it know > > what > > type of file you are sending it?