| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | display top-five referral urls Hi, I would like to display top-five referral URLs on the main page of my site dynamically, so that I can automatically provide reciprocal links for those sites that bring us the most traffic. Can anyone help me create a code snippet that does this? Any help will be greatly appreciated. |
| |
| | #3 (permalink) | |
| Senior Member | hi, I myself wrote a simple snippet doing this.. I store the referral stats in mysql and display the top five (in terms of unique ip addresses that each site brings to us). I filter out SE referrals, and those referrals from my own sites and my own forum signatures. Also, I periodically flush the database so as to prevent any cheating... Quote:
| |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| parsing urls in a script | liam_d | Programming | 2 | 10-31-2005 11:13 AM |
| Top Level Domain ? Which one to buy ? | rome2ng | Domain Name Discussion | 17 | 10-31-2005 01:07 AM |