Witam, mógby mi ktoś zobaczyć na mój system ponieważ nie tworzy mi hiperłączy i nie wyświetla obrazków.
<?php error_reporting(E_ALL | E_USER_WARNING);
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-2\n";
$headers .= "Content-Transfer-Encoding: quoted-printable\n";
$file_name = $_GET['plik'].".txt";
$twoj_mail = $_GET['twoj_mail'];
$file = fopen($file_name, 'r');
$topic = $_GET['topic'];
$text = $_GET['text'];
$i=0;
$max_mails = 100000;
while(!feof($file) && $i <= $max_mails){
$i++;
$file_read = fgets($file);
$file_read = trim($file_read);
$mail = mail($file_read, $topic, $text, $headers);
if($mail){
echo $i.' - mail wyslany: '.$file_read.'!<br />';
} else {
echo $i.' - blad podczas wysylania maila na adres: '.$file_read.'<br />';
}
}
?>
Pozdrawiam