Restrictive Access Script
Restricts access to a page after so many page views.
This can be used for anything. Its originally coded for myself for
limiting access to demo software until the user purchased a
license. This can be used for that, or it could be used for anything
else. It can also be used for CPA offers.
There could be many uses for this. Its a pretty useful tool to have.
After three page views, it adds the surfers IP into the
database and sets a cookie. If after three page views, the IP is stored
in the database for 24 hours and displays an error message until the 24
hours has past, then it deletes the IP.
It will also set a cookie, just in case the surfer chooses to use a proxy. The cookie also expires the same time the IP is deleted out of the database.
I will do any customization for this script that you request. This can be implemented into many things.
Its also easily customizable as it is. All you need to do is define your
database credentials, and there is a variable for the error message
that's displayed which is easily editable, as well as how long the user
is restricted to the page, etc.
Make a Comment