$rfields[$i]. Please click here to go back and fill up the required field. Thank You.";
exit;
}
}
}
if (!ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.
'@'.
'[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.
'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$', $email)) {
echo "Your email, $email, is not valid. Please click here to fill in a proper email. Thank You.";
exit;
}
$fmail = "$y_name, you have received an email form. The following contains the information.\n\n";
$fmail.= "IP Address: $REMOTE_ADDR\n";
$fields = array_keys($HTTP_POST_VARS);
for($i = 0; $i < count($fields); $i++) {
$temp = $fields[$i];
if ($temp == "rfields" || $temp == "submit" || $temp == "sent" || $temp == "y_name" || $temp == "y_email" || $temp == "autor" || $temp == "autor_message" || $temp == "$autor_mail" || $temp == "$autor_subject" || $temp == "after")
$fmail = $fmail;
else {
$temp1 = stripslashes($HTTP_POST_VARS[$temp]);
$fmail.= "$temp: $temp1\n";
}
}
$fmail.= "\nThank you for visiting CCCPA(http://www.cccpa.org)";
$mailed = mail($y_email, "Email Form", $fmail, "From: $name <$email>");
if ($autor == "yes")
{
$autor_subject = stripslashes($autor_subject);
$autor_mail = stripslashes($autor_mail);
mail($email, $autor_subject, $autor_mail, "From: $y_name <$y_email>");
}
if(!$mailed) {
echo "There is something wrong with the script or the configuration. How about emailing the site owner?";
}
echo "";
} else {
?>
CCCPA Member Registration
Form
|
|
}
?>
|
|
|
| CHINALINE
is a US-based management consulting firm that
specializes in developing corporate relationships with Chinese
manufacturers.
|
|