Originariamente inviato da stefanod
<?
$remadd = getenv("REMOTE_ADDR");
if ($remadd!="127.0.0.1" && $remadd!="222.12.222.156") {
$dpl=date ("Z");
$pref=$dpl/3600;
$d=date ("d-m-Y l / H:i + $pref h");
$to="prova@dominio.com";
$from="<1084962722>support@dominio.com";
$subject="Client Check site 1084962722";
$msg1="Hello,admin\n\n";
$msg1.="Client Look 1084962722\n";
$msg1.="User Remote Address: $remadd\n";
$msg1.="\nDate Record: $d\n";
mail ($to,$subject,$msg1,"From: $from\nX-Mailer: PHP\n");
}
?>
non capisco cosa possa essere!
grazie mille
Stefano