Re: download file from an ajax request

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

 



On Fri, Jun 20, 2008 at 12:59 PM, Daniel Brown <parasane@xxxxxxxxx> wrote:
>
>    Once you get your download script fixed, try adding these lines to
> your page:
>
> <iframe height="0" width="0" name="dl" id="dl" frameborder="0"></iframe>
> <a href="img.php" target="dl">Click to Download</a>
>
>    And just replace img.php with the name of your script.

    Sorry, that should be:

<iframe height="0" width="0" name="dl" id="dl" frameborder="0"></iframe>
<a href="img.php?params=YOUR_PARAMETERS" target="dl">Click to Download</a>

-- 
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
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