Hi,
in the # Authorization Options section:I've got
$admin_email = 'webmaster\@loudwind.com';
it was my mistake; sorry!!!
I'm actually looking at your website (great improvement!)the code for sending email to user and admin;the following is what my
add_success sub looks like (NOTE:my BDMan uses
- user_friendly html short/long
- validate
- file upload
- forward email)
$page_title = "Record Added to the DealCenter";
&html_page_top;
%rec=&get_record($in{$db_key});
&html_record_long(%rec);
open (MAIL, "$mailprog") or &cgierr("unable to open mail program");
print MAIL "To: $admin_email\n";
print MAIL "From: $admin_email\n";
print MAIL "Subject: New Record at $html_title\n\n";
print MAIL "A new record was added at $html_title with the following information:\n\n";
foreach $column (@db_cols) {
print MAIL "$column: $in{$column}\n";
}
print MAIL "\n\n";
close MAIL;
# < -- Start page text -- >
print qq|
<P><$font>The following record was successfully added to the DealCenter database:</FONT>
|;
# < -- End page text -->
&html_footer;
&html_page_bottom;
It seems to have just half of the snippet of code compared to the one on your "Unoffical DBMan FAQ" Category(s):
Email 512 22-Oct-2001
I'll check out the DB for GCS thing
I meant the size of the textarea was originally:
Rows 7 Cols 60 Maxlength 2000 and now i'm asking if I can increase those figures to hold a longer record.Am I making more sense?
As of now my DB file is 75K, not big at all
Thanks
macagy