PHP Classes
elePHPant
Icontem

File: manual.txt

Recommend this page to a friend!
  Classes of Dave Smith  >  PHP Secret URL Path  >  manual.txt  >  Download  
File: manual.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: PHP Secret URL Path
Authorize access based on user click sequence
Author: By
Last change: Updated to latest version
Date: 3 years ago
Size: 1,162 bytes
 

 

Contents

Class file image Download
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