LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2004, 10:15 AM   #1
Godsmackfelipe
LQ Newbie
 
Registered: Feb 2004
Location: Brazil
Distribution: Mandrake 8.1
Posts: 17

Rep: Reputation: 0
PHP to control workers


Hello again everybody...
I need to do a php script that controls the hour of arrival, lunch time, back of lunch time and the exit of my workers, but I canīt find a solution...
In that script I want to put The name of the worker and the fields will be filled with the time of the system, ex.: If the worker comes 9 AM it will update automatically...
Is there anyone of you who has an script like that???
thanks in advice...
Felipe
 
Old 03-11-2004, 01:36 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
It sounds like a fairly easy php & mysql script with http auth. If that's all you want you probably only need 2 tables:
Staff
staff_id - INT (Auto)
username - Varchar
firstname - Varchar
lastname - Varchar

Days
day_id - INT (Auto)
staff_id - INT
date - date
start_day - time
start_lunch - time
end_lunch - time
end_day - time
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counter-Strike php control script JedisonGames Linux - Software 5 02-23-2006 11:31 PM
Several problems: Apache/PHP, playing CDs and volume control Nylex Slackware 12 07-03-2005 01:32 AM
PHP : Online quiz cache control and page expiration devansh LQ Suggestions & Feedback 1 09-17-2004 01:37 PM
Control print output from PHP/HTML... PDF? alar Linux - General 1 08-05-2004 01:20 AM
PHP session control lhoff Programming 3 05-06-2002 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration