Hey that image idea is not wokring .......
I just checked this.. What i did is , created a count.txt . I have use this txt for increse the count...I have a send a mail with a image. That image src will call the chk.php
<img src='http://xxxx.com/chk.php'>
This chk.php have the coding to increse the count in count.txt file.
But the count not incresed...
Here my code...
mail.php
<?
$subject="test";
$adminmsg="<img src='http://www.xxxxx.net/chk.php'>";
$temp=fopen("Mail.html","r");
$message=fread($temp,filesize("Mail.html"));
fclose($temp);
//$message = ereg_replace("##",$From_mail,$message);
$message = ereg_replace("##",$adminmsg,$message);
$adminmsg = "\r\n";
$mime_boundary = "<<<--==+X[".md5(time())."]";
$adminmsg .= "--".$mime_boundary."\r\n";
$adminmsg .= "Content-Type: text/html; charset=\"iso-8859-1\"\r\n";
$adminmsg .= "Content-Transfer-Encoding: 7bit\r\n";
$adminmsg .= "\r\n";
$adminmsg.="<font face=arial size=2>".$message."</font>\r\n";
$adminmsg .= "--".$mime_boundary."\r\n";
if(mail($recipient, $subject, $adminmsg, $headers."\r\n"))
{
echo "Mail Send Sucessfully";
}
else
{
echo "Mail Not send";
}
?>
chk.php
<?
$v=1;
$temp=fopen("count.txt","r");
echo $message=fread($temp,filesize("count.txt"));
fclose($temp);
echo $message=$message+1;
@$fopen=fopen("count.txt", "w");
@fwrite($fopen, $message);
@fclose($fopen);
?>