Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy.] [New Plugin] Count_Impressions

Quote Reply
Re: [Andy.] [New Plugin] Count_Impressions In reply to
Hmm why use an iframe?

You could just use a global ;)

sub { $DB->table('Table')->update( { HitCount => \'HitCount + 1' }, { LinkID => $_[0] } ) }

Thats all you need. (Well something along those lines)

Then you'd put the tag into link.html ....may be a bit slow though doing 25+ updates per page...eww...you might want to consider using something like:

UPDATE Table SET HitCount = HitCount + 1 WHERE LinkID IN ('1','2','3')

...or whatever.

Last edited by:

Paul: May 1, 2002, 10:03 AM
Subject Author Views Date
Thread; hot thread [New Plugin] Count_Impressions Andy 13365 May 1, 2002, 9:41 AM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Paul 12992 May 1, 2002, 10:01 AM
Thread; hot thread Re: [Paul] [New Plugin] Count_Impressions
Andy 13112 May 1, 2002, 10:37 AM
Post; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Paul 13058 May 1, 2002, 10:43 AM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Paul 13009 May 1, 2002, 10:54 AM
Post; hot thread Re: [Paul] [New Plugin] Count_Impressions
Andy 13054 May 1, 2002, 11:14 AM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Alex 13037 May 1, 2002, 11:39 AM
Thread; hot thread Re: [Alex] [New Plugin] Count_Impressions
Andy 13048 May 1, 2002, 11:44 AM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Paul 13093 May 1, 2002, 11:46 AM
Thread; hot thread Re: [Paul] [New Plugin] Count_Impressions
Andy 12955 May 1, 2002, 11:48 AM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Paul 12999 May 1, 2002, 11:51 AM
Post; hot thread Re: [Paul] [New Plugin] Count_Impressions
Andy 12957 May 1, 2002, 11:54 AM
Thread; hot thread Re: [Paul] [New Plugin] Count_Impressions
webmaster33 13091 May 2, 2002, 12:35 AM
Thread; hot thread Re: [webmaster33] [New Plugin] Count_Impressions
Paul 12972 May 2, 2002, 1:08 AM
Thread; hot thread Re: [Paul] [New Plugin] Count_Impressions
Andy 12937 May 2, 2002, 3:17 AM
Post; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Paul 12862 May 2, 2002, 3:18 AM
Thread; hot thread Re: [Paul] [New Plugin] Count_Impressions - Plugin certification
webmaster33 12903 May 2, 2002, 4:17 AM
Post; hot thread Re: [webmaster33] [New Plugin] Count_Impressions - Plugin certification
Ian 12959 May 3, 2002, 6:16 PM
Thread; hot thread Re: [webmaster33] [New Plugin] Count_Impressions
pugdog 13021 May 4, 2002, 8:21 AM
Post; hot thread Re: [pugdog] [New Plugin] Count_Impressions
webmaster33 12815 May 4, 2002, 12:33 PM
Post; hot thread Re: [Alex] [New Plugin] Count_Impressions
Andy 12965 May 2, 2002, 4:03 AM
Post; hot thread Re: [Alex] [New Plugin] Count_Impressions
Andy 12811 May 6, 2002, 3:15 AM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
rayhne 12909 May 3, 2002, 2:15 PM
Thread; hot thread Re: [rayhne] [New Plugin] Count_Impressions
Andy 12946 May 4, 2002, 2:38 AM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
rayhne 12919 May 6, 2002, 11:26 AM
Thread; hot thread Re: [rayhne] [New Plugin] Count_Impressions
Andy 3876 May 6, 2002, 12:15 PM
Thread; hot thread Re: [Andy.] [New Plugin] Count_Impressions
Paul 3820 May 6, 2002, 12:22 PM
Post; hot thread Re: [Paul] [New Plugin] Count_Impressions
Andy 3713 May 6, 2002, 12:26 PM
Post; hot thread Re: [rayhne] [New Plugin] Count_Impressions
Andy 3826 May 6, 2002, 12:32 PM
Thread; hot thread Re: [rayhne] [New Plugin] Count_Impressions
Alex 3886 May 6, 2002, 5:52 PM
Post; hot thread Re: [Alex] [New Plugin] Count_Impressions
rayhne 3673 May 7, 2002, 9:11 AM