Specials | Announcements | Contact | Site Map
Willmaster.com
Hijack-proof forms. Surveys. List building.

Solid, safe website tools.

Whatever your need, Will Bontrager builds powerful software solutions.

Affiliate Cookie Setter
Search WillMaster.com:

WillMaster > Support > CGI Q&A

If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.

An Automatic Password Distribution Script Request

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
to fit into this process.

1. Customer buys ebook from webform
2. Customer receives Master Temp Linker link from where to download ebook
3. Customer has 7 days to get a free password
4. Customer completes a request for free password form in ebook
5. Customer provides these fields: Proof of Purchase receipt number, password number required for book (between 1 and 1000), name and email. There are also hidden fields for the the ebookname EBKNAME and ISBN number. Six fields altogether.
6. When form is submitted a programme finds the EBKNAME Customer List and checks that valid Proof of Purchase receipt number, name and email are listed there. If yes, then the request is noted as lodged (which means it can only be lodged two more times for a maximium of three requests) then the password number required for book (between 1 and 1000)variable is passed to the EBKNAME Password List. If the requested number is 403 then the value for that number is retrieved from the EBKNAME Password List and is (1) posted directly back to a precoded page in the ebook for receiving password variable data sent from a server or (2)emailed back to the submitter.

As you can see, I need to automate step 5.

Cheers
Taura

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.