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!
It works fine but when used in mozilla and some versions of explorer i get a blank browser left after it has been downloaded, is there anything i can do to remove this?
Apart from not opening the download in a popup then you could use JS to automatically close the window... the problem being that you need to work out when the download is complete. It's the default behaviour for Mozilla FF.
<a href="?download" target="_blank">Click to download</a>
Which forces the download to open in a new window. In IE that closes as soon as the download dialog appears. In FF however it remains open. How are you initiatiing the download on the client side? I've not seen the blanks screen in FF other than when using popup windows.