protect download page

tooslim

Regular Member
Joined
Dec 12, 2008
Messages
366
Reaction score
85
so i have my ebook, my sales page and buy now button and everything set up but i now need help setting up the download page after they pay. i wnt it protected so no one can just give it out ya know. i dont want to pay for DLgaurd or anything either. i read around but most threads i find are for protecting clickbank products.

any help would be appreciated
 
If you don't want to pay for DLguard download the nulled version off here. It's only version 2 but it'll still protect your download page...The alternative route is create a .exe ebook using Armand Morins eBook Generator or Derek Gehl's ebook pro so you can disable it remotely if some bastards start to share it.

Hope this helps?
 
Since the easiest way to find a download page is just by searching "clickbank will appear", "thank you for your download", etc., how about just using a random page name and changing it every so often, just for good measure?
 
You have to store your ebook in an non public folder.
Then write a little php script do send you the ebook, after a submit
Code:
function makeDownload($file, $dir, $type) {
    
    header("Content-Type: $type");

    header("Content-Disposition: attachment; filename=\"$file\"");

    readfile($dir.$file);
    
}

$dir = '/is/htdocs/wp1042434_BDEO6BJ7VB/www/download/';

$type = 'application/pdf';

if(!empty($_GET['file']) && !preg_match('=/=', $_GET['file'])) {
    if(file_exists ($dir.$_GET['file']))     {
        makeDownload($_GET['file'], $dir, $type);
    }
        
}

You can trigger the script by:
Code:
http://www.yourDomain.de/download.php?file=funnyEbook.pdf
 
Back
Top