Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } $mail->AddReplyTo($mailfrom); if (!ValidateEmail($mailfrom)) { $error .= "The specified email address is invalid!\n
"; } $prefix = rand(111111, 999999); $i = 0; while (list ($key, $val) = each ($_FILES)) { if ($_FILES[$key]['name'] != "" and file_exists($_FILES[$key]['tmp_name']) and $_FILES[$key]['size'] > 0) { $upload_DstName[$i] = $prefix . "_" . str_replace(" ", "_", $_FILES[$key]['name']); $upload_SrcName[$i] = $_FILES[$key]['name']; $upload_Size[$i] = ($_FILES[$key]['size']); $upload_Temp[$i] = ($_FILES[$key]['tmp_name']); $upload_URL[$i] = "$upload_folder/$upload_DstName[$i]"; $upload_FieldName[$i] = $key; } if ($upload_Size[$i] >= $max_filesize) { $error .= "The size of $key (file: $upload_SrcName[$i]) is bigger than the allowed " . $max_filesize/1024 . " Kbytes!\n"; } $i++; } if (!empty($error)) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $uploadfolder = basename($upload_folder); for ($i = 0; $i < count($upload_DstName); $i++) { $uploadFile = $uploadfolder . "/" . $upload_DstName[$i]; if (!is_dir(dirname($uploadFile))) { RecursiveMkdir(dirname($uploadFile)); } move_uploaded_file($upload_Temp[$i] , $uploadFile); chmod($uploadFile, 0644); $name = "$" . $upload_FieldName[$i]; $message = str_replace($name, $upload_URL[$i], $message); } $mail->CharSet = 'ISO-8859-1'; $message = ReplaceVariables($message); $message = stripslashes($message); $mail->MsgHTML($message); $mail->IsHTML(true); if (!$mail->Send()) { die('PHPMailer error: ' . $mail->ErrorInfo); } header('Location: '.$success_url); exit; } ?> MAQUINAS DE PVC,SOLDADORAS,TERMOFUSIONADORA,CORTADORAS.LIMPIADORAS,RETESTADORAS DE MULLION,JUNQUILLADORAS,PANTOGRAFOS CON MOTOR HERTZH,COPIADORAS,DESAGUADORAS,PVC,ALUMINIO,MAQUINAS TURCAS,www.blitzh.com,MAQUINAS DE ALUMINIO,MAQUINAS PARA LATINOAMERICA,MAQUINAS IBERICAS,MAQUINAS USADAS,MAQUINAS RECONDICIONADAS,MACHINERY,PROVEN SPA,MAQUINAS CON CALIDAD ALEMANA,SOLDADORA DOBLE CABEZAL,CORTADORA DOBLE CABEZAL,MAQUINAS FULL AUTOMATICAS,MAQUINAS PARA VENTANAS Y PUERTAS,MAQUINAS NUEVAS,MAQUINAS CON PLANTILLAS UNIVERSAL
NOMBRE
SU CORREO
SU MENSAJE
PROVEN SPA  calle uno norte no: 55-c barrancas san antonio/chile  Rut:76.509.022-9    info@proven.cl
PROVEN SPA  calle uno norte no: 55-c barrancas san antonio/chile  Tel: +56352292044  WHATSAPP : +56975210714   info@proven.cl