PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
this works fine, however i want the page that contains this link to divert to another page once the download is complete. Is there any way of doing this??
not really.. the browser doesn't tell you if and when the download finishes... You can send the main page there immediately after starting the download though..
it requires Javascript but basically.. you launch your download link in whatever fashion probably needs to be a window.open() style call at this point.. then after making that call (and waiting a couple seconds for good measure) you change the document.location to somewhere else...
Hi i have implemented the method the proble is now that the file cannot be found!! It works fine if i open the page via a form button, howver when i redirect to the page through the javascript the file is not found.