954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help of Script

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.

knrakesh
Light Poster
35 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

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 :)

djjjozsi
Junior Poster in Training
69 posts since Jun 2009
Reputation Points: 12
Solved Threads: 11
 

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

HITMANOF44th
Posting Whiz in Training
283 posts since Apr 2009
Reputation Points: 24
Solved Threads: 33
 

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.

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

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

HITMANOF44th
Posting Whiz in Training
283 posts since Apr 2009
Reputation Points: 24
Solved Threads: 33
 
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)

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You