Re: open a secondary window/tab in the browser from php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 18, 2008 8:55 AM, Jay Blanchard <jblanchard@xxxxxxxxxx> wrote:
> [snip]
>   not html target, pdf window.... so it can be saved and printed
> separately form the application.
> [/snip]
>
> You have to use an anchor tag's target attribute to open the new tab or
> window (PHP is server-side and cannot do this);
>
> <a href="/path/to/my.pdf" target="_blank">

    You can also do what sites like H&R Block do - create an IFRAME
with the PDF displayed therein.  As long as the user has the Adobe
Acrobat plugin, the PDF will display inline, complete with all
toolbars and scrollbars, allowing them to save and print fine.

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux