| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Mar 2005
Posts: 1,250
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | THREAD STARTER #3 (permalink) | ||||
| Senior Member Join Date: Mar 2005
Posts: 1,250
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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...
| ||||
| |
| | #4 (permalink) | ||||
| Account Closed Join Date: Nov 2005
Posts: 166
![]() |
| ||||
| |
![]() |
| 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 12:13 PM |
| Top Level Domain ? Which one to buy ? | rome2ng | Domain Name Discussion | 17 | 10-31-2005 02:07 AM |