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 Quote Link to comment 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 Quote Link to comment 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?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.