# AUTODOWNLOAD a FILE

**URL:** <https://forum.kirupa.com/t/autodownload-a-file/329867>\
**Category:** web dev\
**Created:** [October 28, 2012, 7:36am UTC](https://forum.kirupa.com/t/autodownload-a-file/329867 "2012-10-28T07:36:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BUroKHUli](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/burokhuli/32/190_2.png) [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Post date:** [October 28, 2012, 7:36am UTC](https://forum.kirupa.com/t/autodownload-a-file/329867/1 "2012-10-28T07:36:30Z")

</div>

Hi guys,

I have a situation that’s beating the heck out of me 🙂

I have a page named “thankyou.html”, this appears after my visitors would sign up the subscribers page.  
Once inside “thankyou.html” page, I placed a REFRESH META TAG that would go to a PHP page after 10seconds that automatically downloads a certain PDF document.

\<meta http-equiv=“refresh” content=“10;URL=dl.php”\>

So the basic idea is, SUBSCRIBE, THANK YOU PAGE, BEGIN DOWNLOAD…

Is there a better way of doing this? Cause I am having doubts about the META REFRESH TAG every 10SECS

thank you
