×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
If you want to open the pdf in the browser, try changing the content-disposition to inline instead of attachment.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Tom Deskevich
Sent: Tuesday, February 02, 2010 12:28 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Open a PDF on the IFS with PHP. Found this solution searching on the web.
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="'.$pdf.'"');
$path = '/image/smp/'.$c.'.PDF' ;
readfile($path);
Brings up the open dialog, and allows me to open the file with adobe. When I
close adobe, the application ends.
There must be a better way, but at least I have it opening.
Tom Deskevich
*************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.