I tried to create a download counter with PHP. The script, I have created, works, but when I click the download link, the script sends me to a blank page. Is it possible to
Try using php header redirect instead of JS or meta tag redirect:
Also make sure there is nothing outputted before the header.
http://www.php.net/manual/en/function.header.php
Also for the link, if it is still not working try adding the target attr:
download