Link to home
Start Free TrialLog in
Avatar of ellandrd
ellandrdFlag for Ireland

asked on

create quick links based on popularity

users off our company intranet has asked me, would it be possible to have a "quick link" feature that would show links to pages that are most popular e.g the pages that are visited the most often.

but im not sure how to create such a functionality.  any ideas on how this can be done ??

please advise
Avatar of HuyBD
HuyBD
Flag of Viet Nam image

It's a normal way is that creating a function to count request and store it to statistic

HuyBD.
Avatar of ellandrd

ASKER

so count hits for each page and only show pages with most hits??
but the number of pages in the intranet will change all the time, so each time a new page is added, i have to create a separate field or table to record that pages hits...??

how would you work around this?  what is the best way??  use a text file or database or what??
you can use the $_SERVER['HTTP_REFERER']; to get the link page to

HuyBD.
ASKER CERTIFIED SOLUTION
Avatar of HuyBD
HuyBD
Flag of Viet Nam image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes ok