|
Posted by Rik Wasmus on 08/29/07 09:41
On Wed, 29 Aug 2007 09:17:41 +0200, salonowiec
<debrza_removethis@poczta.onet.pl> wrote:
> Can anypody give a hint: on my page there is <a href and it links
> to some file, e.g. alpha.pdf; how to modify the page so that it opens
> the pdf file on start, no link?...
If you want to display a (new) page AND prompt the user to download the
pdf this can only be done using a meta-trick or javascript, both have
nothing to do with php, so if you want to go that route ask in alt.html or
comp.lang.javascript respectively.
That said, serving a pdf with php is one of the examples in the header()
function page in the manual: <http://www.php.net/header>
--
Rik Wasmus
My new ISP's newsserver sucks. Anyone recommend a good one? Paying for
quality is certainly an option.
Navigation:
[Reply to this message]
|