In Progress

Visitor Logging Script

Scope of Work:

1. Modify the following script or create an new PHP and ASP script which allows Service Buyer to place script into individual web pages to obtain email alerts and log each visit when someone visits same page.

2. Use sessions or some other method to check if the same IP visited in the past, and if so, suppress sending an email alert but capturing

each subsequent visit in the log file:

$mailHeader = "From: System Administrator <email @ domain . com> n"

. "Reply-To: email @ domain . comn";

$MailToAddress = " email @ domain . com n";

$mailHeader .= "Cc: $name <>,<>,<> rn";

$mailHeader .= "Bcc: $name <>,<>,<>,<> rn";

$MailSubject = " ";

$link="http://www . domain / visitorlog.log";



if($_SESSION["logged"] != "yes")









$file = fopen($tabfilename, "w");



$logLine = "IP: $ip || User Agent: $agent || Page: $uri || Referrer: $refn";

$file = fopen($tabfilename, "a");

fputs($file,$ip."t".date("H:i:s - m.d.Y -- ", $tmst). md5(rand."".time()). "rn");


$_SESSION["logged"] = "yes";

$mailMessage = "IP Address: ".$ip." n

Query Additional IP Info: [url removed, login to view];.$ip." n

Time/Date Stamp: ".date("H:i:s - m.d.Y", $tmst)."n

Logfile: $link n

Unique Message Identifier: ".md5(rand."".time())." rnrn";

@mail($MailToAddress, $MailSubject , $mailMessage, $mailHeader);


Skills: ASP, PHP

See more: visitor logging script, asp visitor log, visitor logging, php visitor log file, visitor log script, script address, address script, arin, visitor logging system, asp log visitors, php visitor plot script, php visitor domain, asp logging visitor details, asp visitors log, visitor logging script php, asp logging script, buyer agent, ws, user agent, rn, md5, mail script, script referrer, additional work scope, script alert

About the Employer:
( 43 reviews ) Huntley, United States

Project ID: #202548

Awarded to:


Hi, can we discuss your project in PMB?

$50 USD in 1 day
(66 Reviews)

2 freelancers are bidding on average $63 for this job


Please see your PMB - Thanks!

$75 USD in 3 days
(8 Reviews)