Okay.
In your .cfg file define a variable
$field_text = $db_script_path . "/field.txt"; Be sure that you upload a file by that name to your DBMan directory and set the permission to
666.
In db.cgi, sub add_record, after
close DB; # automatically removes file lock add
Code:
open (TEXT, ">$field_text") or &cgierr("error in add_record. unable to open text file: $field_text.\nReason: $!");
if ($db_use_flock) {
flock(TEXT, 2) or &cgierr("unable to get exclusive lock on $field_text.\nReason: $!");
}
print TEXT $in{'field2'};
close TEXT;
JPD
http://www.jpdeni.com/dbman/