Ellen
Jul 6 2008, 01:41 PM
I'm creating a site with some game downloads and I want to make them 'limited edition'. For example, only first 100 people can get this!
I need help coding that.
How to set a link that it can be only clicked *number here* times, and if you're too late, it takes you to a page that says something like "Sorry, we have run out of this."
I'm quite good with HTML and have quite much experience but I've never came across such a tag that would allow this.
But basically, it doesn't sound impossible to me - it's probably quite simple, but an unknown tag to do it.
Help me anyone? =)
Banjo
Jul 6 2008, 02:00 PM
I would think you couldn't do this with html but php instead.
Ellen
Jul 6 2008, 02:36 PM
Okay than the php code. I don't care what language it is, it just need to be usable on a casual HTML page.
Banjo
Jul 6 2008, 03:14 PM
You can't use php in a html file if thats what your saying you need.
Ellen
Jul 6 2008, 03:18 PM
Oh. I don't know much about php so I didn't know that.
Well the thing is. I have a HTML based site. Now I just need the links to be clickable for only about 100 times. Without changing the whole site.
ANYONE knows the solution?
MrTouz
Jul 7 2008, 12:52 AM
First since you are going to switch your pages from .html to .php so you can include the code.
Second, if you need PHP help i suggest transfering this thread to PHP section because people that knows PHP usually don't search people in need at the HTML section.
Also, yes it can be done, i am guessing with a PHP counter that counts every downloads and at a certain time does not allow more than 100 downloads.
I suggest looking over
my best friends site for some scripts, because i am sure someone already made this.
Good luck.
Ellen
Jul 7 2008, 04:59 PM
Okay, could some mod move it to php section?
I don't have much idea about php so I need this fully explained how to do it in details =)
NaRzY
Jul 8 2008, 10:12 AM
Google it.
Jacob.
prixat
Jul 8 2008, 08:28 PM
Hi Ellen
The words you want to google for are "file sharing script"
You should be able to find several you can just plug in.
PS
May not even be PHP, could be PERL or something!
Paradoks
Jul 9 2008, 03:02 AM
Wel.. see. You display the website in html, but you save it in a .php phormat phile so you can display the php code. Along the lines of doing what you want to do i suggest going to sites that let you download PHREE php scripts to implement in your site. searcharound google phor it. Im 100% positive you will phind one.
fenerli
Jul 9 2008, 03:53 AM
I doubt Ellen's going to find what he wants through Google, unless it's a feature buried somewhere in a software that will be far too much for his needs. Probably would need someone to write the script.
QUOTE(Paradoks @ Jul 9 2008, 01:02 PM)

Wel.. see. You display the website in html, but you save it in a .php format file so you can display the php code. Along the lines of doing what you want to do i suggest going to sites that let you download FREE php scripts to implement in your site. searcharound google for it. Im 100% positive you will find one.
You mean PHREE PHP scripts right?
Paradoks
Jul 9 2008, 04:55 AM
Yes. I do. Hahaha. Ph' you. kidding :]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.