Tracking a user, live, on ur site

-Anat-

Newbie
[OP]
Sep 9, 2004
25
0
I had a rather unique problem and I kludged together some code for it.

i wanted that somehow i get an email whenever a user with a "certain" specific useragent visits my site. so that I can sit and track the user - live as he browses through my site.....
This particular user either had a unique IP address or a unique sub-string in his user agent... In my case I used the useragent property.

solution:
I put this code in my index.php file where "@TEXT@" is the unique useragent text

Code:
now i configured my outlook to check mail every one minute from
my.address@email.address.com and play a sound when new mail arrives.. so effectively instead of sitting and monitoring the latest visitors feed all day, outlook would, within 60 seconds, inform when when this user visits my site.
 

-Anat-

Newbie
[OP]
Sep 9, 2004
25
0
naah, not googlebot....but a "certain" somebody else!