PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (14)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 765 This week: 1All time: 4,418 This week: 560Up
Version License Categories
history_links 1.0GNU General Publi...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: 53
All time rank: 27232 in Kazakhstan Kazakhstan
Week rank: 411 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:765
This week:1
All time:4,418
This week:560Up