Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

On my company's website I want to have a form where a visitor can provide an email address and pass an anti-bot challenge. The server would then email a trial key to the visitor.

Background: I am integrating a third-party software licensing solution into my PC software products. This enables users to use a key of the form "1234-56789-ABCDE-F0123" to activate a limited demo version of my software. Unfortunately, I could not find a licensing vendor offering a simple online service to deliver trial keys via email so I am planning to roll my own such service.

When a user submits an email address it is checked against a list of stored addresses. If he has registered before, his previous key is resent. If the email address is new, a fresh trial key is sent out from a preloaded list of, say, 1000 keys. All data (contact info and keys) must be stored securely and there needs to be a basic maintenance portal allowing manipulation and of the database. Other functionality may follow (e.g. multiple demo versions, capturing more than email address from form).

This is the only dynamic page on my website - everything else is pretty much static HTML. What is a good way to implement this behaviour on low cost / ubiquitous hosting (e.g. MySQL, cPanel, etc.)? What platform/language/CMS/services should I leverage?

I may hire someone to write scripts, etc. but I first need direction on which platform I should look at. Many thanks.

share|improve this question
add comment

1 Answer 1

Hosting with cPanel, MySQL and PHPMyAdmin (which gives you access to the backend of the database(s)) should be sufficient. Any web scripting language could do what you want, so it may be best to let the person you hire choose. PHP is an obvious choice, and when you want something changed it's likely you could find someone else to help you if the original person isn't even available.

share|improve this answer
    
Thanks - PHP doesn't sound too tough. Does PHP come with whatever tools are necessary to make sure that mail is not bounced by recipients' servers? –  paperjam May 27 '11 at 12:29
    
Why would it be bounced? Because the servers think it's spam or some other reason? –  paulmorriss May 27 '11 at 12:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.