I have always just opened the PDF in another full window, where the URL entry space is not available.
<a href="#" onclick="window.open('MyPDF.pdf', '_blank', 'fullscreen=yes'); return false;">MyPDF

Is that what you mean ?

- John V


It just takes a directive in the Apache config, and it can be a
naming that is hidden from the url so you are not exposing your
true dir structure. Then it's a matter of the URL pointing to
the .pdf instead of a .html and your browser will know what to do.
Have been serving .pdf (or .csv or .xls) this way to the web since
2000 in a similar tool - Websmart.
Jim Franz

. . . Write a program to read the file from the
IFS and pipe it to the browser. You would need to change the
content type to "application/pdf".

Schadd Gray

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.