si può creare un db in formato .txt e non database sql?
si può creare un db in formato .txt e non database sql?
------------------
georado
www.georado.it
tipo cosi non funziona:
Codice PHP:$body = "$messaggio";
$thesubject = $oggetto;
$headers .= "Bcc: $mail\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: " . trim($mail_admin);
mail("", $thesubject, $body, $headers);
ciao
teo
![]()
non ho capito
![]()
![]()
------------------
georado
www.georado.it
prova cosi
file indirizzi.txt
pagina invia mail phpCodice PHP:1indirizzo
2indirizzo
3indirizzo
4indirizzo
questa e l'idea base non lo testato ma dovrebbe funzionare poi lo modifichiCodice PHP:<?
$array=file("indirizzi.txt");
foreach ($array as $to) {
mail($to, $subject, $text, $headers);
}
?>![]()
OK PERFETTO, FUNZIONA ALLA GRANDE
GRAZIE MILLE E BUON ANNO 2008
------------------
georado
www.georado.it