Class: secretPath
Version: 1.0 10/21/2016
Copyright 2015 Wagon Trader, All Rights Reserved
Description:
This class will track a user's clicks and allow authorized access if they followed a defined sequence.
Files:
secretpath.class.php - Main class
example.php - Simple application example
secret.php - Example file requiring authentication
Installation:
Upload files to a web accessible location on your server (eg. public_html)
Configuration:
No configuration needed.
Usage:
Refer to example.php file for a simple usage example.
Refer to secretpath.class.php file for instructions on using methods
When the class is instantiated you must provide the variable name which is being used as the URL key in the key/value pair and an array of values in the correct sequence for authorization.
Changelog
1.1.1
Added method to test users path
Added strongReset param to validatePath method
1.1
Changed class construct to support random generation
Added random path and tracking generation methods
Added method to get tracking variable
Added method to get secret path
1.0
Initial release
|