Jump to content

Starting download automatically after X seconds


Liquid Fire

Recommended Posts

First off... when you redirect the browser to a PHP page that has it's content-disposition as an attachment, rather than rendering something to your browser, it prompts a download. So, put that together with a javascript timeout that redirects you, and you've got the principle of it.

 

Read up on Javascript timing for more details.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.