
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.
| Author | Message |
|---|---|
| 4Sep04 Taura |
Subject: An Automatic Password Distribution Script Request Will Do you have something that can do this for me. I want an automatic password distribution system 1. Customer buys ebook from webform As you can see, I need to automate step 5. Cheers |
| 7Sep04 Will [Email] ![]() |
In response to: An Automatic Password Distribution Script Request I don't know that I follow everything you outlined. Post a clarification if required. At step 5, a form in the ebook is filled out and submitted to a program on your server. At step 6, the form processing program does a lookup in a file that already exists on your server. I'm assuming either that file is updated manually or by the use of different software. If the information provided by the form can be validated, the form processing program uses the password request number provided in the form to retrieve a password from a list (which also already exists on the server). If that same password request number has been used less than three times, the password is returned to the person submitting the form, either publishing the password in the ebook or emailing the password. Depending on the capabilities of the ebook compiler you're using, a. the password could be sent back to the same ebook page where the form was submitted from (like a "thank you" page in a regular web browser using a web page form) or b. the password could be recorded in a separate assigned password database and JavaScript on a different ebook page could publish the password (the JavaScript would request the password from a program on your server, which would look it up in the assigned password database and send it to the ebook). If neither of the above would work, an email could be sent with the password. Or the email could be sent anyway. Probably it will require custom programming. But you might first check http://cgi-resources.com/ and other CGI program directories to see if something like that is already available. If you do require custom programming, use either the "[Email]" link in the left post author column or the "Contact Us" in the left navigation area. I would need to ask more questions and probably would need to test some things with your ebook compiler before making a programming commitment. |