Skip to content

Helps bands and labels include coupons for digital downloads with their vinyl and tape releases.

Notifications You must be signed in to change notification settings

ndespres/Download-Code-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DLCodeGen is a system for creating unique 'download codes' to allow limited downloads of a file based on purchases made offline. 
Include a coupon with your next LP or tape release!
This software is released under the GNU GPL license. It would be really nice to see what you use this software for. 
A few bands have released tapes and LPs and included download coupons generated with this software. If you do the same, 
I'd love a copy of your record! Contact me at neil.despres AT gmail for my mailing address. Good luck!

Quick setup instructions:
1. Create a new MySQL database, and a new user. Assign appropriate permissions. 
   This is pretty easy to do through cPanel, ask me if you need help.
2. Open PHPMyAdmin. In the left column, click on the database you just created.
3. Click the Query button on the top right. 
   You'll see a text box titled "SQL query on database." 
   Take the entire contents of the SQLdata.txt file, copy it into that box, 
   and hit Submit Query.
4. Assuming that went without a hitch.. open the 'vars.php' file in your favorite text editor,
   edit the values in there with what you did in step 1.
5. Upload everything to the webz. 
6. Done!
7. To customize how the printouts are going to look, open admin.php and look about halfway
   down the page. Edit index.php to edit the main page.
8. To customize the rest of the error messages/download links/etc, look in codeCheck.php.

For a preview site with some demo codes to try it out for yourself, visit http://mynameisneil.com/projects/codes2/

About

Helps bands and labels include coupons for digital downloads with their vinyl and tape releases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published