ho provato a modificare anke il codice della pagina x inviare e-mail agli utenti inattivi ma nn funge..il codice modificato è:
[code:1:a89edb4ba9]<?
set_time_limit(0);
include "../config.php";
include "header.php";
$query = mysql_db_query ($dbname,"select email from top_user",$db) or die (mysql_error());
?>
<table align=center border=1 cellpadding=3 cellspacing=0>
<tr>
<td align=center bgcolor="#5087AF" colspan=3>
<B><font face=verdana size=2 color="white">Sites without hits in last 30 days</font></B>
</td>
</tr>
<?
while ($rows = mysql_fetch_array($query)) {
$tquery = mysql_db_query ($dbname,"select email from top_user",$db) or die (mysql_error());
$trows = mysql_fetch_array($tquery);
if (!$trows) {
echo "";
if ($a == "send_notice" AND $submit AND $notice) {
@mail($rows[email],"Notification from $top_name",$notice,"From: $admin_email\nReply-To: $admin_email");
}
}
}
?>
<?
if (!$a and !$submit) {
?>
<tr>
<td colspan=3 align=center>
<B><font face=verdana size=2 color="black">Send notice to all inactive sites.</font></B>
<form action="email.php" method="post">
<textarea rows=10 cols=40 name=notice></textarea><BR>
<input type=submit name=submit>
<input type=hidden name=a value="send_notice">
</form>
</td>
</tr>
<?
}
?>
</table>
<?
include "footer.php";
?>[/code:1:a89edb4ba9]
qualcuno mi può dire co'è ke nn va????? sto facendo tremila tentativi alla volta ma nn ne va manco uno