Jump to content

Recommended Posts

Hi.. dear.

 

In my download page, a user click on download button the download box appears above the button. but when that download box is appearing the downloading is not starting automatically.  definitely a user must click on the link call "If your download doesn't start automatically. CLICK HERE." appear on that download box to download a particular song. So dear, Can I make it to start downloading automatically while that download box also appearing.

 

www.mist.lk/download.php?index=5

 

Thanks in Advance for any help

Link to comment
https://forums.phpfreaks.com/topic/250590-download-starting-problem/
Share on other sites

hi,

 

use javascript timer to force download [if you dont know this search google] on particular amount of time. Mean time show the link "If your download doesnot start click here", which upon click user can manually download the song.

 

For javascript timer, you call a function which loads php ajax page where you pass the file id and  use force download code, for javascript timing functions

Click Here

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.