:: **Zploit** v1.0 | Current Path: **/home/bbbncs7/amtechint.com/**
:: Editing File: submit_feed.php
<?php include "admin/param.php"; include "admin/func.php"; if (chf('sub_mit') == "Yes") { if (chf('secure') == ch_session('security_code')) { if (chf('email') != "" && chf('fname') != "" && chf('message') != "") { $INC = qry_run("Insert into tbl_feedback (pname,company,address,phone,email,message,pdate) Values ('".chf('fname')."','".chf('company')."','".chf('address')."','".chf('phone')."','".chf('email')."','".chf('message')."','".date('d-m-Y')."')"); $txtmail = "Feedback<br>-----------------------------------------------------<br><br>"; $txtmail = $txtmail . "<strong>Name:</strong> ".chf('fname')."<br>"; $txtmail = $txtmail . "<strong>Company:</strong> ".chf('company')."<br>"; $txtmail = $txtmail . "<strong>E-mail:</strong> ".chf('email')."<br>"; $txtmail = $txtmail . "<strong>Message:</strong> ".chf('message')."<br>"; $_SESSION["security_code"] = ""; if ($SEND_MAIL == "Yes") { $subject = "Catalogue Request ($web_name)"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: <'.chf('email').'>' . "\r\n"; mail($email_to, $subject, $txtmail, $headers); } header("Location: content.php?p=4&sub=Y#feedback"); die; } } } header("Location: content.php?p=4#feedback"); die; ?>