Re: download file from an ajax request
| From: | Daniel Brown | Date: | Fri, 20 Jun 2008 17:00:46 +0000 |
| Subject: | Re: download file from an ajax request | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275714@lists.php.net to get a copy of this message | ||
On Fri, Jun 20, 2008 at 12:59 PM, Daniel Brown <parasane@gmail.com> 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.