HEX
Server: Apache
System: Linux ns308404 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 8.3.31
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/onlinedev.com/httpdocs/processnewsletter.php
<?php
$mails = array('sarnulf@hotmail.com', 'sophia_lee75@yahoo.fr');
$subject = 'Nouvelle Inscription a la Newsletter d\'KASE Soft';
$headers = "Content-Type: text/html\r\nFrom: onlinedev.com<noreply@onlinedev.com>\r\n";
$content = 'Nouvelle inscription a la Newsletter d\'KASE Soft. Adresse: '.$_REQUEST['email'];
foreach ($mails as $mail)
{
	mail($mail, $subject, $content, $headers);
}
die('Votre inscription a bien &eacute;t&eacute; enregistr&eacute;e.');