$page_id=1; // public page?> include ("security.php") ?> function getVer($cc) { while ($key = key($_POST)) { if ($key==$cc) {return 1;} next($_POST); } return 0; } $action_id=0; $user_nm=""; $u_email=""; $u_site="http://"; if (getVer('hd_action')==1) { $action_id=$_POST['hd_action']; } if ($action_id==10) { $user_nm=$_POST['tx_uname']; $u_email=$_POST['tx_email']; $u_msg=$_POST['tx_area']; $namefrom = "BannerBand User"; $to = "apapanian@hotmail.com"; $subject = "BannerBand requested info"; $message = "from:$u_email \n$user_nm \n$u_msg"; $headers = 'From: user@bannerband.com' . "\r\n" . 'Reply-To: admin@bannerband.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); } ?>
include ("./include/left_nav.php") ?> |