Hi Friends,

I need to design a script which will block all user interaction on PC until an activity is completed.

Problem:
We need to fill time reports every day. People tend to forget filling this. This directly affects companies revenue.

Solution:
I am thinking of running a script every day at 5pm. This script will open intranet site where we fill our time reports. It will also block user from doing anything until report is filled or until that screen is closed.

I need your help in developing this.

why don't you make a task manager program, where user can make a list about his tasks, and set statuses for jobs. The start and finish date-times can filled automatically. The program then list the users who did not filled the day's task. On insert, the user should use textarea to list activities, and each rows then goes into separate events but with the selected task-type... My own task system has this feature, and evrybody love it. You can see a report on 10 AM, and check the users if somebody forget to mention a job. our managers really love it, becouse they can track the projects in type groups. This task list is unique becouse the results have to go into different output formats, in different language, and different groups.
If you need more ideas i can list here.
If you close the access till the user filled the task they don't really like this step :)

i'm with djjjozsi on this or if you run linux cron jobs

You can't block the user from doing anything in PHP or Javascript. You have to use a platform language like C/C++/Java/etc. I will repeat myself, you will NEVER, EVER be able to control a user's machine from the browser whether that be Javascript, or PHP, or ASP, or anything else.

but you would be able to make the server not process other data or not load certain things at certain times on the server not the end user pc which i think this is what thread is about but i could be way off

but you would be able to make the server not process other data or not load certain things at certain times on the server not the end user pc which i think this is what thread is about but i could be way off

Yeah, you could make YOUR server not process their data but what this guy wants is not possible in PHP or any other language that has to do with the web (Save languages that transfer over like Java)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.