error_reporting(0);
$xx = strtotime("now");
$x = Date("l F dS Y",$xx);
if (isset($_SESSION["feedback"]))
{
echo "Your Feedback is Already Saved Thank You";
}
else
{
$_SESSION["feedback"]="done";
$t1 = $_REQUEST["cname"];
$t2 = $_REQUEST["cage"];
$t3 = $_REQUEST["sex"];
$t4 = $_REQUEST["cemail"];
$t5 = $_REQUEST["ctt"];
$t6 = $_REQUEST["sqt"];
$t7 = $_REQUEST["pqt"];
$t8 = $_REQUEST["seqt"];
$t9 = $_REQUEST["intqt"];
$t10 = $_REQUEST["clqt"];
$t11 = $_REQUEST["qft"];
$t12 = $_REQUEST["fvqt"];
$t13 = $_REQUEST["csbt"];
$t14 = $_REQUEST["vfmt"];
$t15 = $_REQUEST["oaet"];
$t16 = $_REQUEST["vfm1t"];
$t17 = $_REQUEST["sug"];
$fn = "/home2/sumitbha/public_html/feedback/". $t1 .$x.".txt" ;
$p1=fopen($fn,"a");
fwrite($p1, "Name :".$t1."\n");
fwrite($p1, "Age :".$t2."\n");
fwrite($p1, "Sexcode :".$t3."\n");
fwrite($p1, "email :".$t4."\n");
fwrite($p1, "Infrastucture and Location :".$t5."\n");
fwrite($p1, "Class Quality :" . $t6."\n");
fwrite($p1, "Lab Quality :" . $t7."\n");
fwrite($p1, "Quality of Education:" . $t8."\n");
fwrite($p1, "Interior :" . $t9."\n");
fwrite($p1, "Cleanliness :" . $t10."\n");
fwrite($p1, "Knowledge of Faculty :" . $t11."\n");
fwrite($p1, "Faculty Behavior :" . $t12."\n");
fwrite($p1, "Punctuality :" . $t13."\n");
fwrite($p1, "Faculty Examples :" . $t14."\n");
fwrite($p1, "Over All Experience :" . $t15."\n");
fwrite($p1, "Value For Money :" . $t16."\n");
fwrite($p1, "Suggestions :" . $t17."\n");
fclose($p1);
echo "
Thanks For Your Valuable Comments ".$t1."
";
}
?>