<?php
$subject = "TEST";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: TEST <info@buongiorno.com>\r\n";
$message = "TEST";
$domain = "http://www.ciaociaociao.com";
$check=@fsockopen($domain, 80, $errno, $errstr, 20))
if (!$check)
{
echo "OOPS!!!";
}
else
{
mail('test@ciaociaociao.com', $subject, $message, $headers);
}
?>
I tried this script but I get back a blank page: what's wrong? I also tried also putting "www.ciaociaociao.com" "ciaociaociao.com" as domain...