im also having the same problem
any solution
Thanks
I couldn’t figure out the direct way, so I used a different method.
1. I pass the value to the redirect page
Download
2. Then, get the value and used iframe to download the file
$file_name = $_GET[‘file_name’];
echo “<iframe src=\”Yourwebsite.com/wp-content/plugins/download-monitor/download.php?id=$file_name\” height=’0′ width=’0′ style=’display:none’></iframe>
My site: http://endlessicons.com click any of the icon and click ‘Download’ button and see. It will redirect to the page then started to download it.
sorry its not working for me
file name is appearing in the url
but not download, where i should place the code
Try it with ‘id’ instead of ‘file_name’
Basically it’s sending the value to redirect page and inside of the redirect page, there is an iframe that loads the download function.
Let me know.