HEX
Server: Apache
System: Linux iad1-shared-e1-19 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: austral3d (14892361)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /home/austral3d/fourdplan.com/webservices4.3dev/mail_borrar.php
<?php
$uploaddir = 'screenshots/';
$uploadfile = $uploaddir . basename($_FILES['file']['name']);
	
move_uploaded_file($_FILES['file']['tmp_name'], $uploadfile);

$language = $_POST['language'];
if ($language == "english")
{
	$subject = 'fourdplan: application message';
	$text = 'The following comment has been sent:';
}
else
{
	$subject = 'fourdplan: Mensaje de la aplicacion';
	$text = 'Te han enviado el siguiente comentario:';
}

// $to  = 'nd0806@gmail.com, ' . $_POST['addresses'];

// $message = '
// <html>
// <head>
// </head>
// <body>  
// 	<div>
// 		<center>
// 		<img src="http://www.fourdplan.com/webservices/banner2.png" height="107" width="765">  
// 			<div style = "font-size: 14px; color: blue;">
// 				<p>' . $text . '</p>
// 				<p>' . $_POST['message'] . '</p>
// 			</div>
// 			<img src="http://www.fourdplan.com/webservices/screenshots/' . $_FILES['file']['name'] . '" height="395" width="700">  
// 		</center>
// 	</div>
  
// </body>
// </html>
// ';

// $headers  = 'MIME-Version: 1.0' . "\r\n";
// $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// $headers .= 'From: Austral3D <tecnologia@austral3d.com>' . "\r\n";

// $mail_sent = mail($to, $subject, $message, $headers);

// if ($mail_sent)
// 	echo('Mail enviado');
// else
// 	echo('Error al enviar el mail');
//  ?>