I am an IT student in Sri Lanka. As an assignment we have to implement a library in php.
So what I need to know is how I get the click event of a hyperlink when it is clicked.
I need it because I have to remove the articles which are not seen by anybody.
If you know please help me.
Geeshan
hyperlink hits counting
Moderator: General Moderators
redirect the link to an intermediate page which updates a database field in a database
link structure
then on redirect.php, update a timestamp in a database that corresponds with the article id, then redirect to the article. it will be seemless.
then you can run a script to remove articles with aren't viewed within x amount of time
link structure
Code: Select all
<a href="redirect.php?articleid=5">This Article</a>then you can run a script to remove articles with aren't viewed within x amount of time
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.