Liquid Fire Posted May 3, 2007 Share Posted May 3, 2007 You know those place where is say " Your downloaded you start in 5 sec", how do i do that? I am assuming it is some type of javascript, is it? is it something else? Link to comment https://forums.phpfreaks.com/topic/49870-starting-download-automatically-after-x-seconds/ Share on other sites More sharing options...
obsidian Posted May 3, 2007 Share Posted May 3, 2007 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. Link to comment https://forums.phpfreaks.com/topic/49870-starting-download-automatically-after-x-seconds/#findComment-244648 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.