ACCESS CONTROL SCRIPT PHP or PERL / TXT DATABASE There is a members area which users can access entering right access code. Script verifies if user have valid access code. If no script shows "Wrong code" page. If yes script creates a session = gives access to protected area and calculates minutes until maximum online minutes have reached and then shows "connection disabled" page. From "connection disabled" page it should be possible to enter a new access code just like from login page. Script validates access codes from ASCII text file "database". The code is valid if it is on the file. When the code is used, script removes that code from the file. Code generator generates X (variable) number of access codes (for example 1000 pcs) and stores them on a text file. ENTER line breaks, one code per line. Lenght of code can be adjusted... i.e. there should be a variable X how many characters each code inludes... for example 14 characters. Those characters can be only numbers from 0 - 9. Example code: 01234567891234 -Session timer: when user logs in with the valid code, timer starts calculating online time. When X time is reached, session is closed = system shows "connection disabled" page. Variables: Maximum online time, for example 30 minutes = how long session is valid. If value is 0 then session is valid until browser is closed. Screen is divided on two frames. Upper frame shows online time used (i.e. 23 mins) and some links. Main frame shows content pages if there is still left online time or "connection disabled" page. Each content page inlcudes validator script that checks if the session is valid or not, i.e. if the access code is right and if there still is online time lef for the current user. ***The system should allow different simultaneus users with own unique sessions. Minor changes possible. Please view enclosed picture.