In this project, I constructed a web site for dbworld. At this
site, users can view the messages that have been sent to dbworld, get
memberships of dbworld or logon dbworld as members to post messages.
The software consists of the following cgi scripts and perl programs: This table has the following fields: user id, password,
first name ,last name, email address and phone number. Each user is
identified by a unique user id.
To run handle_message.pl, type:
perl -w handle_message.pl mbox_file output_table_file output_data_file
separator tag [tag] ...
in which, mbox_file is the input mailbox file. output_table_file is
the output file that contains the header tags. output_data_file contains the
contents of all the messages sent from dbworld in the original mailbox file,
minus
the wanted header tags, are outputed to this output_data_file.
seperator is the separator used in the output_table_file.
tag is a header tag wanted (at least one tag must be specified).
example:
perl -w handle_message.pl junk.mbox table.out data.out # From To Cc Date Subject
This program shows the message table file table.out on the web. All
messages
are ordered by the time they were received.
The code is located at /s/www/scripts/liang/790/
Usage guide
Example
Code