File format for pending registrations


All pending registrations are stored within a single file. This file will contain their pending registration until such time as either the user sends back his confirmation to receive the newsletter or they are removed from the file as they've been there too long. Note that there is a separate script that will remove entries from the pending registration file. As well, it is possible for a user to have multiple entries in the pending registration file; when they finish their registration process all of these entries will be removed.

The pending registration file is contained in the system configuration directory within the CGI directory. Each pending registration has a single record within this file describing their registration. Each record contains a date of registration (in number of seconds since Jan 1, 1970), the name of the sponsor who referred the user to the newsletter, and the e-mail address of the subscriber. The record is as follows:

[date of registration] "sponsor", "e-mail address"
    
Example:
[888188296] "kingkong", "kong@donkey.com"
    
The data shown above represents the following subscriber:

Date of registration: 888188296 (Feb 22, 1998, approx 3:00pm)
Sponsor: kingkong
Users e-mail: kong@donkey.com