Ok, on the SIGNUP_FORM sub, add the fields you want passed on, such as:
<input type="text" name="email" value="email">
<input type="text" name="email" value="homepage">
<input type="text" name="email" value="referal">
<input type="checkbox" name="CONSENT" value="1" CHECKED> Then in SIGNUP_SUCCESS,
Add a few lines such as:
###send user details email#####
if ($in{'CONSENT'} eq "1") { open (MAIL, "$mailprog") or &cgierr("Can't start mail program");
print MAIL "To: youraddress\@isp.com\n";
print MAIL "From: $in{'email'}\n";
print MAIL "Subject: goes here\n\n";
print MAIL "New user details:\n";
print MAIL "Name: $in{'userid'}\n";
print MAIL "Email: $in{'email'}\n";
print MAIL "Homepage: $in{'homepage'}\n";
print MAIL "Referred by: $in{'referral'}\n\n";
print MAIL "Add any other text here\n";
close MAIL;
} this should work. If you want you can add an option so that these details are only emailed to you if the user consents. This bit is in red, so if you don't want it, just delete the red bits.
Hope that helps!
Cheers!
Ben
------------
http://www.travel-experiences.com