I'm going to suggest the following as it is the easiest, with the least amount of coding on your part:
1) make an E-mail account where you want to keep track of the visits,
2) In the email put in <img src="http://www.example.com/track.php">
3) Make the file name "track.php" and inside it input the following
PHP Code:
<?php $ip = $_SERVER['REMOTE_ADDR']; $to = "youremail@address.com"; $subject = "IP"; $message = "IP:" . $ip; mail($to,$subject,$message); ?>
4) You can tell from how many E-mails you receive, how many visits you have gotten, and for more information it will also be emailing you the IP address. For obvious reasons, email clients aren't going to allow for you to have some sort of script (especially like this) that sends you information from an E-mail, because if that was possible, it'd be just as easy to UPLOAD information (such as a virus) into the E-mail. Therefore you're going to need the person to click on a link.
Good luck!
__________________
"If you say something interesting, people will remember your name" ~ Anonymous
Please login or register to view this content. Registration is FREE. asp <- Irony
|