if(isset($_GET["id"])){ $id=$_GET["id"]; $servername = "localhost"; $username = "coupontr_eurekaa"; $password = "diligent12345"; $dbname = "coupontr_eurekaautoparts"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "UPDATE `tbl_track_email` SET `clicked`=1 WHERE `id`=".$id; if ($conn->query($sql) === TRUE) { } $conn->close(); } function get_client_ip() { $ipaddress = ''; if (getenv('HTTP_CLIENT_IP')) $ipaddress = getenv('HTTP_CLIENT_IP'); else if(getenv('HTTP_X_FORWARDED_FOR')) $ipaddress = getenv('HTTP_X_FORWARDED_FOR'); else if(getenv('HTTP_X_FORWARDED')) $ipaddress = getenv('HTTP_X_FORWARDED'); else if(getenv('HTTP_FORWARDED_FOR')) $ipaddress = getenv('HTTP_FORWARDED_FOR'); else if(getenv('HTTP_FORWARDED')) $ipaddress = getenv('HTTP_FORWARDED'); else if(getenv('REMOTE_ADDR')) $ipaddress = getenv('REMOTE_ADDR'); else $ipaddress = 'UNKNOWN'; return $ipaddress; } if(isset($_POST['sub'])) { $message_body=''; $PublicIP = get_client_ip(); $json = file_get_contents('https://api.snoopi.io/'.$PublicIP); $jsonLoc = json_decode($json ,true); $countLoc = $jsonLoc["CountryName"]; $to="autoparts@usaqualityautoparts.com"; //$to = "gradeautoparts@gmail.com"; //$to = "gradeautoparts@gmail.com"; // $message = $_REQUEST['message']; // $from = $_REQUEST['email']; $Make = $_POST['Make']; $Model = $_POST['Model']; $Year = $_POST['Year']; if($_POST['Part']=='Select Part') { $Part = ''; } else { $Part = $_POST['Part']; } $occupation = $_POST['occupation']; $subject = $Model.' & '.$Part.' Requested'; $Contact = $_POST['Contact']; $from = $_POST['Email']; $Zip = $_POST['Zip']; $Name = $_POST['Name']; $message_body.="Make : ".$Make."\n"; $message_body.="Model : ".$Model."\n"; $message_body.="Year : ".$Year."\n"; $message_body.="Part : ".$Part."\n"; $message_body.="Occupation : ".$occupation."\n"; $message_body.="Contact : ".$Contact."\n"; $message_body.="Email-Id : ".$from."\n"; $message_body.="Zip : ".$Zip."\n"; $message_body.="Name : ".$Name."\n"; $message_body.="Location : ".$countLoc."\n"; $message_body.="EmailEND"; //$headers = "From:" . $from; //Previously Written //Added by Fawwaz --- Start $headers = "From: $Name \r\n"; $headers .= "Reply-To: $Name \r\n"; $headers .= "Return-Path: $Name \r\n"; //Added by Fawwaz --- End if (mail($to, $subject, $message_body, $headers)) { // header("Location: https://usaqualityautoparts.com/thanks.php?submit=success"); header("Location: https://www.usaqualityautoparts.com/thankyou.php?submit=success&theYear=".$Year."&theMake=".$Make."&theModel=".$Model."&thePart=".$Part); } else { header("Location: https://usaqualityautoparts.com/?submit=failure"); } } if(isset($_REQUEST['action']) && $_REQUEST['action'] =='sendemail') { $PublicIP = get_client_ip(); $json = file_get_contents('https://api.snoopi.io/'.$PublicIP); $jsonLoc = json_decode($json ,true); $countLoc = $jsonLoc["CountryName"]; $message_body=''; $to="autoparts@usaqualityautoparts.com"; // $to = "gradeautoparts@gmail.com"; // $message = $_REQUEST['message']; // $from = $_REQUEST['email']; $Make = $_POST['Make']; $Model = $_REQUEST['Model']; $Year = $_REQUEST['Year']; if($_REQUEST['Part']=='Select Part') { $Part = ''; } else { $Part = $_REQUEST['Part']; } $occupation = $_POST['occupation']; $subject = $Model.' & '.$Part.' Requested'; $Contact = $_REQUEST['Contact']; $from = $_REQUEST['Email']; $Zip = $_REQUEST['Zip']; $Name = $_REQUEST['Name']; $message_body.="Make : ".$Make."\n"; $message_body.="Model : ".$Model."\n"; $message_body.="Year : ".$Year."\n"; $message_body.="Part : ".$Part."\n"; $message_body.="Occupation : ".$occupation."\n"; $message_body.="Contact : ".$Contact."\n"; $message_body.="Email-Id : ".$from."\n"; $message_body.="Zip : ".$Zip."\n"; $message_body.="Name : ".$Name."\n"; $message_body.="Location : ".$countLoc."\n"; $message_body.="EmailEND"; //$headers = "From:" . $from; //Previously Written //Added by Fawwaz --- Start $headers = "From: $Name \r\n"; $headers .= "Reply-To: $Name \r\n"; $headers .= "Return-Path: $Name \r\n"; //Added by Fawwaz --- End if (mail($to, $subject, $message_body, $headers)) { // header("Location: https://usaqualityautoparts.com/thanks.php?submit=success"); header("Location: https://www.usaqualityautoparts.com/thankyou.php?submit=success&theYear=".$Year."&theMake=".$Make."&theModel=".$Model."&thePart=".$Part); die(); } else { header("Location: https://usaqualityautoparts.com/?submit=failure"); die(); } } ?> Used Rear View Mirror and Parts - Buy Used Rear View Mirror OEM Parts Online @ Lowest Price & Free Shipping
 

Used Rear View Mirror in Millions. Find in our live inventory of more than 72 Warehouse.

Find Rear View Mirror Now




Find a used Grade A Rear View Mirror fast!

Locate used Rear View Mirror faster with more than 18 thousand Auto recyclists in our inventory. We supply Rear View Mirror and other spare parts for all makes and models throughout the year.

Guaranteed Customer Service

100% customer service guaranteed! Finding any used Rear View Mirror will be quick and easy with us. Our local warehouse near you is ready to help pull out used auto parts and ship them immediately.


Certified OEM Rear View Mirror

We provide certified new and recycled auto parts for car services, car dealerships, car mechanics and direct customers. USA Quality Auto Parts are the source of millions of recycled original parts for cars, trucks and SUVs. Call us at +1-8558487029

Buy Quality Rear View Mirror Online @ Best Price

All of our Used Rear View Mirror are upto your expectations. All of our used Rear View Mirror are tested, tested and have some industry standard guarantees. Keep in mind usaqualityautoparts.com the next time you need a used Rear View Mirror.

What Our Happy Clients say about us

The highest standards. The happiest customers.
Rated by store owner







© 2021 USA Quality Auto Parts | All Rights Reserved