Code to access data - Post ID 301045

User 3139327 Photo


Guest
2 posts

I want to have a tab on my webpage to enter 1 of 100 different code numbers to access my original music for download. I'm making cd's with a different code on each cd jacket, so the consumer can easily download my songs from my site but only twice per code number. This way they get the cd and the artwork as well as free download.
SO can anyone here help me out with that.
User 187934 Photo


Senior Advisor
20,187 posts

With a little PHP and a database you could easily keep track of how many times a code was entered and block it's use after two times.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 31219 Photo


Registered User
58 posts

Can not get the program to work with PHP8 or PHP8.1. Is there an update for this program??
User 187934 Photo


Senior Advisor
20,187 posts

Bob wrote:
Can not get the program to work with PHP8 or PHP8.1. Is there an update for this program??

Hi Bob, Which app are you having trouble with? Is it the Form Builder?
This thread is in Site Designer.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 3139327 Photo


Guest
2 posts

Eric Rohloff wrote:
With a little PHP and a database you could easily keep track of how many times a code was entered and block it's use after two times.


I know nothing about PHP or any other codes. I want the code for a spot to enter a code number from 1 to 100 , that is controlled by a program that would keep track of the numbers and how many time they were used and then block them after 2 times. It really seems like a simple program but I haven't written a program since 1982 and it was in Basic. LOL Also I haven't created a data base since 1983 and times have changed drastically:)
User 187934 Photo


Senior Advisor
20,187 posts

This was a quick example.
https://ericrohloff.com/coffeecup/ccfor … t-code.php
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.