';
print_r($_POST);echo '';
exit;
*/
extract($_POST);
$dd=$year."-".$month."-".$day;
$devpdate=strtotime($dd);
$expire_date = mktime(0, 0, 0, date("m"), date("d"), date("Y")+2);
/*$insql=$db->query("insert into customer set title='".$title."',fname='".$fname."',lname='".$lname."',company='".$company."',street='".$street."',zip='".$zip."',city='".$_REQUEST['city']."',state='".$state."',country='".$country."',phone='".$phone."',fax='".$fax."',email='".$email."',password='".$password."'");
$lastid=mysql_insert_id();*/
$lastid=$_SESSION['userid'];
$time=time();
$insql2=$db->query("insert into product_replacement (name,cname,pnumber,email,tnumber,lnumber,raddress,lcontact,lpnumber,lfax,pproblem,pserial,pdesp,panything,urgent,contactuser,emailconf,ptime) VALUES('$F01_Name','$F02_Company','$F03_Phone','$F04_Email','$F05_Ticket_Number','$F06_Site_Num','$F07_Ship_To_Addr','$F08_Local_Contact','$F09_Local_Phone','$F10_Local_Fax','$F11_Part_Number','$F12_Serial_Number','$F13_Problem_Description','$F14_Anything_To_Tell','$F15_Urgency','$F16_Tech_Contact_Enduser','$F17_Email_Confirmation','$time') ");
// $adminemail=mysql_fetch_array(mysql_query("select email from admin"));
//$to =$adminemail['email'];
//$to =$adminemail['email'];
$to = 'support@computerlab.com';
// subject
$subject = 'Product Replacement Request';
// message
$message = '
Product Replacement Request
Dear IT and Support Team,
A RMA Request is submitted via the web form:
:::::::::::::::::::::::::::::::: Product Replacement Request Details :::::::::::::::::::::::::::::::
Name: '.$F01_Name.'
Company Name: '.$F02_Company.'
Phone Number: '.$F03_Phone.'
Email: '.$F04_Email.'
Ticket No: '.$F05_Ticket_Number.'
Ticket No: '.$F06_Site_Num.'
Address: '.$F07_Ship_To_Addr.'
Local Contact: '.$F08_Local_Contact.'
Local Phone Numbe: '.$F09_Local_Phone.'
Local Fax: '.$F10_Local_Fax.'
CLI Product Part Number : '.$F11_Part_Number.'
CLI Product Serial Number: '.$F12_Serial_Number.'
Problem Description: '.$F13_Problem_Description.'
Additional Info: '.$F14_Anything_To_Tell.'
Problem Urgency: '.$F15_Urgency.'
Technical Contact: '.$F16_Tech_Contact_Enduser.'
Need Email Confirmation: '.$F17_Email_Confirmation.'
Thanks,
CLI Web RMA Request '.$time.'
';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
/*$headers .= 'To: Mary , Kelly ' . "\r\n";*/
$headers .= 'From: ComputerLab Inc. '. "\r\n";
//$headers .= 'Cc: cshsieh@example.com' . "\r\n";
$headers .= 'Bcc: cshsieh@gmail.com' . "\r\n";
//echo $message;
//die;
// Mail it
$mm=mail($to, $subject, $message, $headers);
header("location:thankyou.php");
exit;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
?>
ComputerLab International - CLI Inc.
Home > Support > Product Replacement Request Form
Product Replacement Request Form
Use this form if you are certain the product being
reported is defective.
All requests received by 12:00 p.m. PST are
normally shipped the same day. If CLI Tech Support determines more information is
required before products is replaced, you or your end user will be contacted. This
form does not constitute a commitment by CLI to replace the product specified. It is
only a request for replacement.