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);


Taidot: ASP, PHP

Näytä lisää: visitor logging script, asp visitor log, visitor logging, php visitor log file, visitor log script, script ip address, i.t. administrator, ip address script, arin, $5 script, visitor logging system, php script visitor referrer email, asp log visitors, asp visitor info script aspnet, php visitor plot script, php visitor domain, asp logging visitor details, asp visitors log, visitor logging script php, asp logging script

Tietoa työnantajasta:
( 43 arvostelua ) Huntley, United States

Projektin tunnus: #202548

Myönnetty käyttäjälle:


Hi, can we discuss your project in PMB?

$50 USD 1 päivässä
(66 Arvostelua)

2 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Please see your PMB - Thanks!

$75 USD 3 päivässä
(8 arvostelua)