From: Mark Tarver <dr.mtar...@ukonline.co.uk> > I have a very simple request. > > I want to know how many people click on a link. So what I want is a > piece of Perl that writes this to a file. It can just be a tally mark > like > ! placed in the file. > > I cannot place anything on the target page because it does not belong > to me. Code gratefully received.
You do not have the logfiles from the webserver hosting that target page, right? So you can't extract the data from the logfiles, right? Use a clickthrough link. Instead of putting the direct link to the target page into your page, put there a link to a redirect on your server. And then count the number of requests to that link in the logiles. Jenda ===== je...@krynicky.cz === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/