views:

66

answers:

1

hi all, I have a functionality where a user is given file to download. It works fine. BUT - 1. How to know whether user has downloaded a file or cancelled it? 2. After downloading I wat to redirect current page to another one that is also not happening.

Please let me know if any one of you have any idea about it. (I am doing it in Joomla)

Regards, Shahu

+1  A: 
T.J. Crowder
hi,Thanks a lot for info.Actually all this is little heavy for me to understand. but I managed to to redirect afetr sending the header() for downloading file.I used - header("refresh:2;url=index.php"); which redirecs to index.php after 2 seconds.
@user251336: Ah, there you go. :-)
T.J. Crowder