witam
mam taki kod subskrypcji:
<?php
$data=date(\"Y-m-d H:i:s\");
$emaile=file(\"emaile.php\");
$wiadomosc = \"
<html>
<head>
<title>Subskrypcja - www.hiphop.lw.net.pl</title>
<style type=text/css>
A
:link { color
: black
; font
-weight
: bold
; text
-decoration
: none
; } A:visited { color : black; font-weight: bold; text-decoration: none; }
A:active { color : black; font-weight: bold; text-decoration: none; }
A:hover { color : red; font-weight: bold; text-decoration: none; }
</style>
</head>
<body topmargin=2>
<font size=1 face=verdana>
$tresc<br>
</body>
</html>
\";
$naglowek = \"MIME-Version: 1.0n\";
$naglowek .= \"Content-type: text/html; charset=ISO-8859-2n\";
$naglowek .= \"From: Moja subskrypcja <bronx01@o2.pl>\";
if(isset($_POST['wyslij'])) {
foreach ($emaile as $email)
mail(trim($email), $tytul, $wiadomosc, $naglowek);
}
if(isset($_POST['test'])) {
mail ($to, $tytul, $wiadomosc, $naglowek);
}
echo \"<CENTER>E-maile zostały rozesłane</CENTER>\"; ?>
i jak teraz dodać w tym kodzie funkcje
stripslashes() zeby znak cudzyslowia wygladał normalnie a nie \"
próbowałem to zrobić ale ciągle mi nie wychodziło :/
pozdrawiam