Login   Register  
PHP Classes
elePHPant
Icontem

History links: Keep track and link to pages browsed by user

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-12-07 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 748 This week: 1All time: 4,124 This week: 1,534Up
Version License Categories  
history_links 1.0GNU General Public Lice...User Management
Description Author  

This class can be used to keep track of the pages navigated by an user, so it can generate back or next links providing a similar effect to the use of the Javascript history.go() function.

It uses sessions to store an array variable that holds the URL of each page of a site that the user accesses.

It can limit the number of pages that are kept in the history array.

It may also ignore pages accessed with the POST method or with certain URLs based on options that define exclusion regular expressions.

The class can generate links to go back to the last page or even to the first page that was recorded.

Picture of Vladimir Kudryavtsev
Name: Vladimir Kudryavtsev <contact>
Classes: 1 package by
Country: Kazakhstan Kazakhstan
Age: 43
All time rank: 24742 in Kazakhstan Kazakhstan
Week rank: 1164 Up1 in Kazakhstan Kazakhstan Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.html Example Test (start page)
Accessible without login Plain text file class_history_links.inc Class Class History links
Accessible without login Plain text file content.inc Aux. Test (for all pages)
Accessible without login Plain text file links.inc Aux. Test (for all pages)
Accessible without login Plain text file menu.inc Aux. Test (for all pages)
Accessible without login Plain text file page1.html Example Test (page1)
Accessible without login Plain text file page2.html Example Test (page2)
Accessible without login Plain text file page3.html Example Test (page3)
Accessible without login Plain text file page4.html Example Test (page4)
Accessible without login Plain text file page5.html Example Test (page5)
Accessible without login Plain text file page6.html Example Test (page6)
Accessible without login Plain text file page7.html Example Test (page7)
Accessible without login Plain text file param.inc Aux. Test (for all pages)
Accessible without login Plain text file test.inc Aux. Test (for all pages)

 Version Control Unique User Downloads Download Rankings  
 0%Total:748All time:4,124
 This week:1This week:1,534Up