MICRON TECHNOLOGIES
#123, 124, V Street Extension
Gandhipuram, Coimbatore
Tamilnadu, INDIA
PIN - 641 012

Email: contact@microntechnologies.net


AUTOCOMPONENTS
ELECTRONICS
FOOD & BEVERAGES
GENERAL MANUFACTURING
LOGISTICS & PACKAGING
PHARMACEUTICAL
ROBOTICS
AUTOCOMPONENTS
ELECTRONICS
FOOD & BEVERAGES
GENERAL MANUFACTURING
LOGISTICS & PACKAGING
PHARMACEUTICAL
ROBOTICS
INDUSTRIES
ASSEMBLY CHECK
VISUAL DEFECTS CHECK
MEASUREMENT CHECK
CODE READING
OPTICAL CHARACTER RECOGNITION
CONTROLS
SPM's
APPLICATIONS
ASSEMBLY CHECK
VISUAL DEFECTS CHECK
MEASUREMENT CHECK
CODE READING
OPTICAL CHARACTER RECOGNITION
CONTROLS
SPM's
CONTACT US
ABOUT US
VISION SYSTEM
SUPPORT & SERVICE
Vision Integrator for
contact@microntechnologies.net
CAREERS
 91 422 438 4224 | 91 9894991321
contact@microntechnologies.net
Smart Vision Automation
HOME
HOME
ABOUT US
INDUSTRIES
APPLICATIONS
VISION SYSTEM
SUPPORT & SERVICE
CAREERS
CONTACT US
Email - contact@microntechnologies.net
Land - +91 422 43 84 224
Mobile - +91 9894991321


COPYRIGHT 2016 © MICRON TECHNOLOGIES. ALL RIGHTS RESERVED
$max_allowed_file_size ) { $errors .= "\n Size of file should be less than $max_allowed_file_size"; } //------ Validate the file extension ----- $allowed_ext = false; for($i=0; $isetTXTBody($text); $message->addAttachment($path_of_uploaded_file); $body = $message->get(); $extraheaders = array("From"=>$from, "Subject"=>$subject,"Reply-To"=>$visitor_email); $headers = $message->headers($extraheaders); $host = "smtp.dot5hosting.com"; $port = "587"; $username = "arulraj.s@microntechnologies.net"; $password = "Esoft_2001"; $smtp = Mail::factory('smtp', array ('host' => $host, 'port' => $port, 'auth' => true, 'username' => $username, 'password' => $password)); //$mail = Mail::factory("mail"); //$mail->send($to, $headers, $body); $mail = $smtp->send($to, $headers, $body); //redirect to 'thank-you page //header('Location: thank-you.html'); if (PEAR::isError($mail)) { echo("

" . $mail->getMessage() . "

"); } else { echo("

Message successfully sent!

"); } } } ///////////////////////////Functions///////////////// // Function to validate against any email injection attempts function IsInjected($str) { $injections = array('(\n+)', '(\r+)', '(\t+)', '(%0A+)', '(%0D+)', '(%08+)', '(%09+)' ); $inject = join('|', $injections); $inject = "/$inject/i"; if(preg_match($inject,$str)) { return true; } else { return false; } } ?> File upload form