Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: CGI script loop

by ysth (Canon)
on Jan 05, 2004 at 18:58 UTC ( #318910=note: print w/replies, xml ) Need Help??

in reply to CGI script loop

Out of curiousity, what is the script supposed to do? And what is in the 500Mb error log?

<non-constructive-criticism>There are some quite amusing things there. $#Ref_Info + 1?? And quite a mixture of meaningful ($grandtotal), meaningless (%HASH), and confusing ($antal??) variable names. I wonder if the author benchmarked it with and without the study(). And the comments are great: dashes and underscores only! (except for the author information). </non-constructive-criticism>

If you bought it, is support available? It's odd that it doesn't have a copyright statement.

Update: better and better; $grandtotal is incremented but never used :)

Replies are listed 'Best First'.
Re: Re: CGI script loop
by dragonchild (Archbishop) on Jan 05, 2004 at 19:16 UTC
    Top Referrer scripts are meant to generate link trades. The idea goes something like this:
    1. You and 9 of your friends agree to put each other's banners up on your sites. But, there's a catch - you don't want to link to chromatic and potentially give him business unless his site is generating business for you.
    2. So, you only actually display one of your friends's banners. Which one is determined by how much business each friend has done for you.
    3. You keep track and, let's say chromatic has sent you 40%, tilly 40%, but jeffa's site never sends you any business. So, you display each person's banner according to the amount of business they've sent you.

    The calculations can get arbitrarily complex. There are even sites that keep track of this stuff for you and your friends. (I've done some work for one of those, which is why I've even heard of this. And, yes, it's that industry that is the primary, secondary, and pretty much only user for this technology.)

    We are the carpenters and bricklayers of the Information Age.

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://318910]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2021-12-02 14:56 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (22 votes). Check out past polls.