", "&qt;", $tmp); return $tmp; } function displaytext($tmp) { $tmp=str_replace("\'", "'", $tmp); $tmp=str_replace("\"", """, $tmp); return $tmp; } function mailtext($tmp) { $tmp=str_replace("\'", "'", $tmp); $tmp=str_replace('\"', '"', $tmp); return $tmp; } $refer=$HTTP_REFERER; $ip = $_SERVER['REMOTE_ADDR']; $agelength=strlen($_POST[AGE]); //echo $agelength; if ($ip=='' || $ip=='' || $ip=='' || $refer=='http://www.kueimut.com/phpBB2/viewtopic.php?t=2196&sid=55b20a9fbaf352d9da3ab54a7c61f341' ||$agelength>1) { header("HTTP/1.0 404 Not Found"); exit; } //echo $refer; if ($_POST[pay]==1 ) { preg_match_all ( "/http:\/\//", $_POST[Additional_Comments] ,$matches,PREG_PATTERN_ORDER); $legel=count($matches[0]); $happy=preg_match_all('/<[aA] href=/', $_POST[Additional_Comments],$matches,PREG_PATTERN_ORDER); $happy=count($matches[0]); //echo $happy; $hotmail=preg_match('/^[A-Za-z]+ [A-Za-z]+$/',$_POST[NAME]); //echo $hotmail; list($finame,$liname)=split(' ',$_POST[NAME]); $newe=$finame."@hotmail.com"; if ((($_POST[NAME]=="") || ($_POST[email]=="") || ($_POST[Additional_Comments]=='') ||($_POST[NAME]==$_POST[email])|| $legel>0) && (isset($submit))) {$err="Please Fill Out the Fields Marked With A *";} else { if (strstr($_POST[email],'@')=='@saddsah.com') exit; else { if ($happy ==0 and $hotmail !=0 and $_POST[email] !=$newe and $_POST[email]!="acipex@gmail.com") { $message="NAME: $NAME\nEMAIL: $email\nAGE: $AGE\nZIP CODE: $ZIP\nGENDER: $GENDER\n"; $message=$message."STATUS: $status\n"; $message=$message."INCOME: $INCOME\n"; $message=$message."NEWSLETTER: $Newsletter\nCOMMENTS:\n********\n$Additional_Comments\n******\n"; $message=$message."Magazine: $magazin\nMagazine Other: $magazinother\nI watch: $tv\nMy favorite program: $tv_program\nHow I heard: $heard\nHeard from other: $heard1\n"; $message .="Referal page:$refer\nRemote IP: $ip\n"; $subject="Feedback Response"; $to="team@starchefsinc.com"; //$to='jcao@starchefsinc.com'; mail ("$to", "$subject", "$message", "From: feedback@starchefs.com"); $NAME=fixtext($NAME); $email=fixtext($email); $Additional_Comments=fixtext($Additional_Comments); $conn=ocilogon("star", "chef", "STARC"); $stmt_ins=ociparse($conn, "INSERT INTO FEEDBAG (NAME, EMAIL, AGE, ZIP, GENDER, STATUS, CHILDREN, GRADUATE, PRIMARY, PRIMARY2, TITLE, SALARY, AREA, SPECIALTY, EQUIPMENT, KITCHENWARE, TABLETOP, GIFTS, COOKBOOKS, PROFESSIONAL, PURCHASING, POSTINGS, COMMENTS, NEWSLETTER, magazin,tv, FAVORITETV,HEARD, HEARDOTHER,foodservice) VALUES ('$NAME', '$email', '$AGE', '$ZIP', '$GENDER', '$status', '$CHILDREN', '$CULINARY_GRADUATE', '$PRIMARY_BUSINESS', '$PRIMARY_BUSINESS_OTHER', '$JOB_TITLE', '$INCOME', '$FAVORITE_AREA', '$Specialty_Foods', '$Cooking_Equipment', '$Kitchenware', '$Tabletop_Accessories', '$Food_Gifts', '$Cookbooks', '$Professional_Cooking_Equipment', '$PURCHASING', '$JOB_POSTINGS', '$Additional_Comments', '$Newsletter', '$magazin', '$tv', '$tv_program','$heard','$heard1','$foodservice')"); ociexecute($stmt_ins); $strsm1=ociparse($conn,"insert into newsletterlist (userid, EMAIL, DISHRAG, EMPLOYER , JOBSEEKER, URL)values (newsletterlist_id.nextval,'$email','$newsletter','$empletter','$jsletter','$emaillisturl')"); $query="insert into newsletterlist (userid, EMAIL, DISHRAG, EMPLOYER , JOBSEEKER, URL)values (newsletterlist_id.nextval,'$email','$newsletter','$empletter','$jsletter','$emaillisturl')"; //echo $query; //ociexecute($strsm1,OCI_COMMIT); ocicommit($conn); $err=""; // Added by Chris: post to SubscriberMail require_once '/data/sites/includes/libs/subscribermail.php'; subscribermail($email, sm_getlist(), array('zipcode' => $ZIP, 'age' => $AGE, 'gender' => $GENDER)); } } } } else { $err=""; } ?> Star Chefs : Viewer Feedback Form
$err"; } ?>


*";} ?> Your name:

*";} ?>Your complete e-mail address:

*";} ?> Your zip code:
(country name if outside US)
*";} ?> Your Comments:
Suggestions? Comments? Your favorite recipe?
We want to hear from you!
Please let us know where you heard about StarChefs and what you think of the site.

StarChefs Research Questionnaire

Your answers to the following questions will greatly help StarChefs improve and expand our services. We thank you for participating and look forward to better serving your culinary interests!

Food Service Professional
What is your annual household income?
What do you read for food news and information
What local newspaper do you read?
What do you watch on TV?
- what is your favorite program?
How did you hear about StarChefs?
Thank you for taking the time to fill out our form.
We appreciate your feedback!

Return to the StarChefs.Com Homepage