...
   Back   Home   PHP Scripts   Javascripts   Blog  


Tropical PC Solutions: View once with time limit PHP script

You can use this view only once PHP program along with your current PHP log-in program. This code will allow you to restrict access to a particular file. The user can view the resource only once within a pre-set ammount of time. The username, password, date and the users IP address are written to a logfile. The code compares the username and password combonations for a match and determines if the alloted time limit has expired. If all is well the function returns back to your actual log-in program. There is a few configuration options like if you want to be notified if the user attempts to log-in a second time. The ipLogFile.txt file will need to have writable permissions in order for the program to write the users data to the logfile.

All necessary files are incuded in download.

To download this view once with time limit PHP program click here.

Sign up for our newsletter and get a free eBook!
 
Twitter Get the latest, subscribe via Twitter!





Copyright 2009 ...