ponsho Posted March 17, 2006 Share Posted March 17, 2006 Im using some code to force download of files such as images, .txt files, etc, it works perfect but i dont like that when the user end downloding the file the window keeps open, how can i solve this problem. plase help Link to comment https://forums.phpfreaks.com/topic/5181-how-to-close-window-after-force-download/ Share on other sites More sharing options...
kenrbnsn Posted March 17, 2006 Share Posted March 17, 2006 PHP has no knowledge of what is displayed on the browser and can not close any window. Javascript can close windows.Ken Link to comment https://forums.phpfreaks.com/topic/5181-how-to-close-window-after-force-download/#findComment-18391 Share on other sites More sharing options...
ponsho Posted March 17, 2006 Author Share Posted March 17, 2006 Do you have any idea how i can make this work?? Link to comment https://forums.phpfreaks.com/topic/5181-how-to-close-window-after-force-download/#findComment-18425 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.