Re: Re: Die Page, Die! (Was: Preview button to show PDF without submittingpost data?)
| From: | Dave M G | Date: | Sun, 08 Nov 2009 18:20:11 +0000 |
| Subject: | Re: Re: Die Page, Die! (Was: Preview button to show PDF without submittingpost data?) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299704@lists.php.net to get a copy of this message | ||
Nathan,
Thank you for responding.
> yup.. forget the new window all together, if you have it set to download
> as an attachment then the user won't be taken away from the page; so no
> need for a new window at all.
Right... so, we're all on board with the goals.
Now... how do I do that?
The whole problem here is that I keep getting a new window even though I
don't want it.
I would have thought if I told PHP to die immediately after outputting
the PDF, it would give up on making the new window.
I've also tried JavaScript to kill the window after it's made.
*How* do I get the page to die?
--
Dave M G